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" %}
|
{% include "common/hero.html" %}
|
||||||
|
|
||||||
|
{% if page.body_html %}
|
||||||
|
<section class="container content">
|
||||||
|
{{ page.body_html|safe }}
|
||||||
|
</section>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<section class="container">
|
<section class="container">
|
||||||
{% for page in child_pages %}
|
{% for page in child_pages %}
|
||||||
{% if not filtering_by_tag %}
|
{% if not filtering_by_tag %}
|
||||||
|
|
|
@ -4,10 +4,16 @@
|
||||||
|
|
||||||
{% include "common/hero.html" %}
|
{% 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 %}
|
{% for tag in tags %}
|
||||||
{% include "common/listing-item.html" with page=tag %}
|
{% include "common/listing-item.html" with page=tag %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</section>
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
|
@ -4,10 +4,16 @@
|
||||||
|
|
||||||
{% include "common/hero.html" %}
|
{% 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 %}
|
{% for page in pages %}
|
||||||
{% include "common/listing-item.html" %}
|
{% include "common/listing-item.html" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</section>
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
|
@ -4,10 +4,16 @@
|
||||||
|
|
||||||
{% include "common/hero.html" %}
|
{% 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 %}
|
{% for page in child_pages %}
|
||||||
{% include "common/listing-item.html" %}
|
{% include "common/listing-item.html" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</section>
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
Loading…
Reference in a new issue