zola/test_site/templates/page_template_child.html

9 lines
419 B
HTML
Raw Permalink Normal View History

2018-11-07 19:48:39 +00:00
{% extends "index.html" %}
{% block content %}
<h1>Another page template, specified with the "page_template" key in the front matter but from a child
of a section with also a "page_template" key</h1>
{{ page.content | safe }}
{% if page.earlier %}Previous article: {{ page.earlier.permalink }}{% endif %}
{% if page.later %}Next article: {{ page.later.permalink }}{% endif %}
{% endblock content %}