]> juplo.de Git - website/commitdiff
Auflistung der Unterseitenauflistung nur für den Blog -- MOVE
authorKai Moritz <kai@juplo.de>
Sun, 14 Dec 2025 18:53:25 +0000 (19:53 +0100)
committerKai Moritz <kai@juplo.de>
Sun, 14 Dec 2025 18:53:25 +0000 (19:53 +0100)
layouts/blog/section.html [new file with mode: 0644]

diff --git a/layouts/blog/section.html b/layouts/blog/section.html
new file mode 100644 (file)
index 0000000..748f2f5
--- /dev/null
@@ -0,0 +1,10 @@
+{{ define "main" }}
+  <h1>{{ .Title }}</h1>
+  {{ .Content }}
+  {{ range .Pages }}
+    <section>
+      <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
+      {{ .Summary }}
+    </section>
+  {{ end }}
+{{ end }}