zola/test_site/templates/section.html
southerntofu e47deccf43
Make themes more flexible (#1004)
* Site templates can replace theme templates

* Integrate test case within test_site/

* Full backwards-compatibility with testcase in test_site

* Refine test case

* Call parent's block in child template for test case

* Check both templates are applied

* Follow testing advice

* Test for 'include' in themes and shortcodes

* Documentation for themes and how to extend them

Co-authored-by: Vincent Prouillet <balthek@gmail.com>
2020-06-18 22:31:03 +02:00

8 lines
201 B
HTML

{% extends "sample/templates/section-specific-extends.html" %}
{% block content %}
{% for page in section.pages %}
{{page.title}}
{% endfor %}
{{ super() }}
{% endblock content %}