From d04fae2fec0d37b73b76cff89f4f19538d104df8 Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Sat, 22 Nov 2025 10:10:46 -0800 Subject: [PATCH] feat: port changes from taimihud website --- templates/base.html | 8 ++++++++ templates/head.html | 2 -- templates/page.html | 22 ++++++++++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/templates/base.html b/templates/base.html index 8866dbd..d821cc5 100644 --- a/templates/base.html +++ b/templates/base.html @@ -14,6 +14,14 @@ {% endif %} {{ config.extra.site_title }} + {% include "head.html" %} diff --git a/templates/head.html b/templates/head.html index 6b4c5fd..8d5c9db 100644 --- a/templates/head.html +++ b/templates/head.html @@ -1,7 +1,5 @@ -{{ config.extra.site_title }} - diff --git a/templates/page.html b/templates/page.html index d64bd1c..6f8b1b1 100644 --- a/templates/page.html +++ b/templates/page.html @@ -4,6 +4,28 @@

{{ page.title }}

+ +{% if page.toc %} +

Table of Contents

+ +

Content

+{% endif %} +

{{ page.content | safe }} {% endblock content %}