zola/test_site/templates/page_template.html
Vincent Prouillet 56af4ca7f9 Add page_template to sections
To override all child pages

Closes #397
Tests from PR #434
2018-11-07 19:42:23 +01:00

8 lines
353 B
HTML

{% extends "index.html" %}
{% block content %}
<h1>Another page template, specified with the "page_template" key in the front matter</h1>
{{ page.content | safe }}
{% if page.earlier %}Previous article: {{ page.earlier.permalink }}{% endif %}
{% if page.later %}Next article: {{ page.later.permalink }}{% endif %}
{% endblock content %}