You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.2 KiB
43 lines
1.2 KiB
{% extends "base.html" %} |
|
|
|
{% import "macros.html" as macros %} |
|
|
|
{% block content %} |
|
{% if section.extra.reverse_order | default(value=true) %} |
|
{% set pages = section.pages | reverse %} |
|
{% else %} |
|
{% set pages = section.pages %} |
|
{% endif %} |
|
{% for page in pages %} |
|
{{ macros::render_article_summary(page=page) }} |
|
{% if not loop.last %}<hr>{% endif %} |
|
{% endfor %} |
|
{% endblock %} |
|
|
|
{% block footer %} |
|
<span> |
|
{{ now() | date(format='%Y') }} |
|
{% if section.extra.author %} |
|
{{ section.extra.author }} |
|
{% elif config.extra.author %} |
|
{{ config.extra.author }} |
|
{% endif %} |
|
</span> |
|
{% endblock %} |
|
|
|
{% block aside %} |
|
{% if section.title %} |
|
<h1>{{ section.title }}</h1> |
|
{% endif %} |
|
{% if section.content %} |
|
{{ section.content | safe }} |
|
{% endif %} |
|
{% if section.subsections %} |
|
{{ config.extra.subsections_string | default(value="Subsections:") }} |
|
{{ macros::subsection_tree(subs=section.subsections) }} |
|
{% endif %} |
|
{% if config.extra.xscratch_debug_info %} |
|
<span><strong>Debug info:</strong></span> |
|
{{ macros::debug(thing=section, label="section", recurse=1) }} |
|
{% endif %} |
|
{% endblock %} |