summaryrefslogtreecommitdiff
path: root/zola/templates/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'zola/templates/page.html')
-rw-r--r--zola/templates/page.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/zola/templates/page.html b/zola/templates/page.html
new file mode 100644
index 0000000..180bd84
--- /dev/null
+++ b/zola/templates/page.html
@@ -0,0 +1,17 @@
+{% extends "base.html" %}
+
+{% block title %}{{ page.title }}{% endblock %}
+{% block header %}{{ page.title }}{% endblock %}
+{% block navigation %}
+ {% for a in page.ancestors %}
+ {% set s = get_section(path=a) %}
+ {% if loop.index != 1 %} &gt; {% endif %}<a href="{{ s.path | safe }}">{{ s.title }}</a>
+ {% endfor %}
+ &gt; <a href="{{ page.path | safe }}">{{ page.title }}</a>
+{% endblock %}
+{% block content %}
+<article title="{{ page.title }}">
+ {{ page.content | safe }}
+</article>
+{% endblock %}
+