]> prime8.dev >> repos - p8d.git/commitdiff
Added mutable titles
authorDamian Myrda <damian@prime8.dev>
Sat, 21 Sep 2024 15:15:35 +0000 (10:15 -0500)
committerDamian Myrda <damian@prime8.dev>
Sat, 21 Sep 2024 15:15:35 +0000 (10:15 -0500)
web/templates/404.html
web/templates/base.html
web/templates/index.html
web/templates/projects.html

index 5b214f4d31bd7f1e4cce53bed608729e3fa78515..ef7ad61d773b8142f178e0fb552aab279ce7731b 100644 (file)
@@ -5,6 +5,10 @@
 {{ nav::bar(active="") }}
 {% endblock %}
 
+{% block title %}
+<title>not found</title>
+{% endblock %}
+
 {% block content %}
 <div id="message">
   <h1>not found</h1>
index 36343578a80ce9a5218b2422b365eb1657798287..bdd259a3aa0701e263042535d0c516510af4d164 100644 (file)
@@ -2,8 +2,8 @@
 <html lang="en">
   <head>
     <meta charset="UTF-8" />
-    <title>prime8</title>
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    {% block title %}{% endblock %}
 
     <style>
       body {
@@ -31,8 +31,8 @@
   </head>
 
   <body>
-    {% block navbar %} {% endblock %}
+    {% block navbar %}{% endblock %}
 
-    <div id="content">{% block content %} {% endblock %}</div>
+    <div id="content">{% block content %}{% endblock %}</div>
   </body>
 </html>
index 7e0018d72a4eba2291f0709b43c15606963c03de..e95016cb2eaa12d3cac01b4a2d4b88b1a40714b5 100644 (file)
@@ -5,6 +5,10 @@
 {{ nav::bar(active="home") }}
 {% endblock %}
 
+{% block title %}
+<title>prime8.dev</title>
+{% endblock %}
+
 {% block content %}
 <div id="logo">
   <div>
index fc13c5aa36d90572db0c62647cabdd128a3eab6b..88808c3d69ad4c87915406dcfcf370e12196684a 100644 (file)
@@ -5,6 +5,10 @@
 {{ nav::bar(active="projects") }}
 {% endblock %}
 
+{% block title %}
+<title>projects</title>
+{% endblock %}
+
 {% block content %}
 <pre>
                  _           _