From: Kai Moritz
Date: Sat, 22 Nov 2025 11:20:03 +0000 (+0100)
Subject: WIP:thymeleaf
X-Git-Tag: hugo--mein-erstes-partial~41
X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=5866b2cb909dc26ed8e1807a3c509a648b2ccae5;p=website
WIP:thymeleaf
---
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
+
+ - site:
{{ .RelPermalink }}
+ - canonical:
{{ .Permalink }}
+ - relative:
{{ .RelPermalink }}
+ - logical path:
{{ .Path }}
+
Hugo
- .Path:
{{ .Path }}
@@ -7,4 +14,18 @@
- .CurrentSection:
{{ .CurrentSection }}
- .Data.Term:
{{ .Data.Term }}
+Path
+
+
+ {{ range .Ancestors.Reverse }}
+ -
+ {{ .LinkTitle }}
+
+ {{ end }}
+ -
+ {{ .LinkTitle }}
+
+
+
+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" . }}