From dd7e3b9b501b4ec4c321026f700e182342f951a2 Mon Sep 17 00:00:00 2001 From: Brummel Date: Wed, 20 May 2026 22:35:30 +0200 Subject: [PATCH] feat: base layout, head partial (with noindex), and navbar template --- templates/base.html | 46 +++++++++++++++++++++++++++++++ templates/partials/head.html | 24 +++++++++++++++++ templates/partials/navbar.html | 49 ++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 templates/base.html create mode 100644 templates/partials/head.html create mode 100644 templates/partials/navbar.html diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..80c9cf7 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,46 @@ + + + + {% include "partials/head.html" %} + + +
+
+
+
+
+
+ +
+
+ {% include "partials/navbar.html" %} + + {% block content %}{% endblock %} +
+
+ +
+ +
+
+ +
+
+
+
+ + + + + + + + + diff --git a/templates/partials/head.html b/templates/partials/head.html new file mode 100644 index 0000000..e67fd6c --- /dev/null +++ b/templates/partials/head.html @@ -0,0 +1,24 @@ +{% if page %} + {% set page_title = page.title %} +{% elif section %} + {% set page_title = section.title %} +{% endif %} +{% if page_title %}{{ page_title | safe }} | {% endif %}{{ config.title | safe }} + + + + + +{# STAGING: keep search engines out. Remove this line at production cutover. #} + + + + + + + + + + + + diff --git a/templates/partials/navbar.html b/templates/partials/navbar.html new file mode 100644 index 0000000..27f046e --- /dev/null +++ b/templates/partials/navbar.html @@ -0,0 +1,49 @@ +