aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorfoswret2026-08-14 12:21:57 -0500
committerfoswret2026-08-14 12:21:57 -0500
commit2726baea2ec971bb4ee15291a0e031c7ddaa64b9 (patch)
treebb1160fd718a3fa420f5f6244a978855e2451d16 /templates/page.html
parent76b00b6fdde212d93864e87de2c3759c28844ee5 (diff)
Update to Zola 0.23
Can not use {{ page.title }} in base.html for <title> definition, so moved to more specific template files. Fix typo in style.css for <pre>, where text was black-on-black.
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html
index 88c852e..71bfee2 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -1,5 +1,9 @@
{% extends "base.html" %}
+{% block title -%}
+{{ section.title }} | {{ config.title }}
+{%- endblock title %}
+
{% block content %}
{{ section.content | safe }}
{% endblock content %}