summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornikolaosboutalas <nikolaosboutalas@MACBOOKPRO-1B9E.station>2024-11-16 18:54:49 +0000
committerNikolaos Boutalas <nikolaosboutalas@MACBOOKPRO-1B9E.station>2026-01-04 21:47:36 +0200
commitd37a4cca451a0fc1b3a76fe6ebfa02faa2340ce1 (patch)
tree037668694c4bcaf8c2f243ae294660cecab8fef0
parent53e047c3b6f97be57beefd872e37ac8ccde21bfb (diff)
base: add section or page title as HTML title
-rw-r--r--templates/base.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index b08a9f9..ba1eec9 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -2,7 +2,11 @@
<html lang="en">
<head>
<link rel="icon" href="/favicon.svg" />
- <title>Boutalas</title>
+ {% if section.title %}
+ <title>{{ section.title }}</title>
+ {% endif %} {% if page.title %}
+ <title>{{ page.title }}</title>
+ {% endif %}
</head>
<body>