From cfa8c8d47986d0386fc64c8c2b0e6a0cba06d8d8 Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Tue, 8 Jul 2025 11:49:56 -0700 Subject: [PATCH] feat: add title to pages with title --- templates/base-title.html | 24 ++++++++++++++++++++++++ templates/page.html | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 templates/base-title.html diff --git a/templates/base-title.html b/templates/base-title.html new file mode 100644 index 0000000..49f1fab --- /dev/null +++ b/templates/base-title.html @@ -0,0 +1,24 @@ + + + + + + {{ page.title }} - {{ config.extra.site_title }} + {% include "head.html" %} + + + +
+
+ {% include "header.html" %} +
+
+ {% block content %} {% endblock content %} +
+
+ {% include "footer.html" %} +
+
+ + + diff --git a/templates/page.html b/templates/page.html index c127084..ed9a640 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "base-title.html" %} {% block content %}