From 10a0cd6b47656ce858c565a045671d7a3e1acabf Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 22 Nov 2025 12:20:03 +0100 Subject: [PATCH] thymeleaf-theme: WIP --- .../thymeleaf/layouts/_partials/header.html | 23 ++++++++++++++++++- hugo/themes/thymeleaf/layouts/baseof.html | 2 +- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/hugo/themes/thymeleaf/layouts/_partials/header.html b/hugo/themes/thymeleaf/layouts/_partials/header.html index 98aa0e3d..9d95bf04 100644 --- a/hugo/themes/thymeleaf/layouts/_partials/header.html +++ b/hugo/themes/thymeleaf/layouts/_partials/header.html @@ -1,4 +1,11 @@ -

{{ site.Title }}

+

{{ site.Title }}

+

URI

+

Hugo

+

Path

+

+

    + {{ range .Ancestors.Reverse }} +
  1. + {{ .LinkTitle }} +
  2. + {{ end }} +
  3. + {{ .LinkTitle }} +
  4. +
+

+

Menu

{{ partial "menu.html" (dict "menuID" "main" "page" .) }} diff --git a/hugo/themes/thymeleaf/layouts/baseof.html b/hugo/themes/thymeleaf/layouts/baseof.html index 39dcbec6..5ed59902 100644 --- a/hugo/themes/thymeleaf/layouts/baseof.html +++ b/hugo/themes/thymeleaf/layouts/baseof.html @@ -1,5 +1,5 @@ - + {{ partial "head.html" . }} -- 2.39.5