1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
theorangeone.net-legacy/templates/pages/section_index_page.html

40 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2016-11-24 21:44:08 +00:00
{% extends "base.html" %}
2016-12-24 23:10:21 +00:00
{% load wagtailcore_tags wagtailimages_tags %}
2016-11-24 21:44:08 +00:00
{% block body_class %}template-indexpage{% endblock %}
{% block content %}
2016-12-19 18:50:39 +00:00
{% include 'common/header.html' %}
2016-11-25 21:59:56 +00:00
{% if page.intro %}
<section>
<div class="container">
{{ page.intro|richtext }}
</div>
</section>
{% endif %}
{% if not page.hide_list %}
<section>
<div class="container">
<div class="row no-gutter">
2016-12-24 23:10:21 +00:00
{% for child in page.get_children.specific %}
<div class="media category">
<div class="media-left">
<a href="{{ child.url }}">
{% image child.image max-200x200 %}
</a>
</div>
<div class="media-body">
<a href="{{ child.url }}">
<h4 class="media-heading">{{ child.title }}</h4>
</a>
<p>{{ child.get_meta_description }}</p>
</div>
</div>
{% endfor %}
2016-11-25 21:59:56 +00:00
</div>
</div>
</section>
{% endif %}
2016-11-24 21:44:08 +00:00
{% endblock %}