summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorNikolas <nikolas@boutalas.com>2024-11-16 18:54:49 +0000
committerNikolas <nikolas@boutalas.com>2024-11-16 18:54:49 +0000
commit9b5e1ca545ac611963a655b58d360684f9c34153 (patch)
treeb942b13d6a10f22226e711a3345485c3cd96d2f5 /templates/base.html
parent49285301aca568d045fdbd3c3f9f03f9ec176843 (diff)
add section or page title as HTML title
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 4ea65e1..400c13d 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -5,7 +5,11 @@
<link rel="stylesheet" href="/styles.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="utf-8" />
- <title>Archive - Boutalas</title>
+ {% if section.title %}
+ <title>{{ section.title }}</title>
+ {% endif %} {% if page.title %}
+ <title>{{ page.title }}</title>
+ {% endif %}
</head>
<body>