summaryrefslogtreecommitdiffstats
path: root/layouts/section.html
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-12-23 16:34:08 -0330
committerSam Anthony <sam@samanthony.xyz>2025-12-23 16:34:08 -0330
commit55ed353216554d6327984fa8f1cf707b70e06ac1 (patch)
tree44fe27565920f4876f6fcf2dafd94ae143e2709a /layouts/section.html
parent723c98c1d7ae8d74840c5fa30bd2e38256e17332 (diff)
downloadsamanthony.xyz-55ed353216554d6327984fa8f1cf707b70e06ac1.zip
move layout from theme to site
Diffstat (limited to 'layouts/section.html')
-rw-r--r--layouts/section.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/section.html b/layouts/section.html
new file mode 100644
index 0000000..50fc92d
--- /dev/null
+++ b/layouts/section.html
@@ -0,0 +1,8 @@
+{{ define "main" }}
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+ {{ range .Pages }}
+ <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
+ {{ .Summary }}
+ {{ end }}
+{{ end }}