Show content on listing pages
This commit is contained in:
parent
3306ec4e5a
commit
dddecae190
4 changed files with 30 additions and 6 deletions
|
@ -4,6 +4,12 @@
|
|||
|
||||
{% include "common/hero.html" %}
|
||||
|
||||
{% if page.body_html %}
|
||||
<section class="container content">
|
||||
{{ page.body_html|safe }}
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
<section class="container">
|
||||
{% for page in child_pages %}
|
||||
{% if not filtering_by_tag %}
|
||||
|
|
|
@ -4,10 +4,16 @@
|
|||
|
||||
{% include "common/hero.html" %}
|
||||
|
||||
<div class="container">
|
||||
{% if page.body_html %}
|
||||
<section class="container content">
|
||||
{{ page.body_html|safe }}
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
<section class="container">
|
||||
{% for tag in tags %}
|
||||
{% include "common/listing-item.html" with page=tag %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{% endblock content %}
|
||||
|
|
|
@ -4,10 +4,16 @@
|
|||
|
||||
{% include "common/hero.html" %}
|
||||
|
||||
<div class="container">
|
||||
{% if page.body_html %}
|
||||
<section class="container content">
|
||||
{{ page.body_html|safe }}
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
<section class="container">
|
||||
{% for page in pages %}
|
||||
{% include "common/listing-item.html" %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{% endblock content %}
|
||||
|
|
|
@ -4,10 +4,16 @@
|
|||
|
||||
{% include "common/hero.html" %}
|
||||
|
||||
<div class="container">
|
||||
{% if page.body_html %}
|
||||
<section class="container content">
|
||||
{{ page.body_html|safe }}
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
<section class="container">
|
||||
{% for page in child_pages %}
|
||||
{% include "common/listing-item.html" %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Reference in a new issue