summaryrefslogtreecommitdiffstats
path: root/layouts/section.html
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-04 15:30:33 +0200
committerDanilo M. <danix@danix.xyz>2026-04-04 15:30:33 +0200
commit799bd2304a82d35991876d42fc32a8b8be978da1 (patch)
tree77373500f6cb733f3bc490dc7fe71db8bc6a7fa8 /layouts/section.html
downloaddanixxyz-theme-799bd2304a82d35991876d42fc32a8b8be978da1.tar.gz
danixxyz-theme-799bd2304a82d35991876d42fc32a8b8be978da1.zip
initial theme setup.
Diffstat (limited to 'layouts/section.html')
-rw-r--r--layouts/section.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/section.html b/layouts/section.html
new file mode 100644
index 0000000..748f2f5
--- /dev/null
+++ b/layouts/section.html
@@ -0,0 +1,10 @@
+{{ define "main" }}
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+ {{ range .Pages }}
+ <section>
+ <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
+ {{ .Summary }}
+ </section>
+ {{ end }}
+{{ end }}