{%- if section -%} {#- Zola's `section` and `page` variables share many fields, so we set `page` to whichever one is present and access common fields through that variable to simplify templating. -#} {%- set page = section -%} {%- endif -%} {%- if not page -%} {#- Hack: Zola's 404.html doesn't get rendered with `page` or `section` set to anything. -#} {%- set page = get_page(path="404.md") -%} {%- endif -%} {% if page.title %}{{ page.title }} @ {% endif %}{{ config.title }}
{{ page.content|safe }} {% block post_content %}{% endblock -%} {%- if section.subsections or section.pages -%} {% block ls_title -%} {#-

further reading

-#} {%- endblock %} {%- endif %} {%- endblock %}