]> juplo.de Git - website/commitdiff
theymeleaf-theme: Added mor available information about the current page
authorKai Moritz <kai@juplo.de>
Mon, 8 Dec 2025 18:04:29 +0000 (19:04 +0100)
committerKai Moritz <kai@juplo.de>
Mon, 8 Dec 2025 18:04:29 +0000 (19:04 +0100)
hugo/themes/thymeleaf/layouts/_partials/header.html

index 50ae1778b15edb6002a6f77f0a92e9a2c9554f97..2e2ec4e32df316eb66d8f069be15095e13ca6f24 100644 (file)
@@ -8,12 +8,18 @@
 </ul>
 <h2>Hugo</h2>
 <ul>
+  <li><strong>.Title:</strong> <code class="">{{ .Title }}</code></li>
+  <li><strong>.LinkTitle:</strong> <code class="">{{ .LinkTitle }}</code></li>
+  <li><strong>.Description:</strong> <code class="">{{ .Description }}</code></li>
+  <li><strong>.Kind:</strong> <code class="">{{ .Kind }}</code></li>
   <li><strong>.Path:</strong> <code class="logical_path">{{ .Path }}</code></li>
   <li><strong>.Page.Permalink:</strong> <code class="">{{ .Page.Permalink }}</code></li>
   <li><strong>.Page.RelPermalink:</strong> <code class="">{{ .Page.RelPermalink }}</code></li>
   <li><strong>.CurrentSection:</strong> <code class="">{{ .CurrentSection }}</code></li>
   <li><strong>.Data.Term:</strong> <code class="">{{ .Data.Term }}</code></li>
 </ul>
+<h3>.Page</h3>
+<pre>{{ debug.Dump .Page }}</pre>
 <h2>Path</h2>
 <p>
   <ol>