mirror of
https://github.com/getzola/zola
synced 2024-12-15 06:42:29 +00:00
e47deccf43
* 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>
9 lines
298 B
HTML
9 lines
298 B
HTML
{% extends "index.html" %}
|
|
{% block content %}
|
|
{{ section.relative_path | safe }}
|
|
{% for sub in section.subsections %}
|
|
{% set subsection = get_section(path=sub) %}
|
|
{{subsection.title}}
|
|
Sub-pages: {{subsection.pages | length}}
|
|
{% endfor %}
|
|
{% endblock content %}
|