aboutsummaryrefslogtreecommitdiff
path: root/layouts/til/section.html
diff options
context:
space:
mode:
authorericmarin <maarin.eric@gmail.com>2026-04-20 14:06:38 +0200
committerericmarin <maarin.eric@gmail.com>2026-04-21 12:24:41 +0200
commitd29af7ee395555e628ee0f3def31c748394cc93b (patch)
tree001c5420dfcc1262d2a5be3980d12e9eb9994933 /layouts/til/section.html
parent061585b540bae3c29a6c5b96c4616401cc7d5ed9 (diff)
downloadwww.ericmarin.dev-d29af7ee395555e628ee0f3def31c748394cc93b.tar.gz
www.ericmarin.dev-d29af7ee395555e628ee0f3def31c748394cc93b.zip
hugo!
Diffstat (limited to 'layouts/til/section.html')
-rw-r--r--layouts/til/section.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/til/section.html b/layouts/til/section.html
new file mode 100644
index 0000000..bd8c690
--- /dev/null
+++ b/layouts/til/section.html
@@ -0,0 +1,13 @@
+{{ define "main" }}
+ <section>
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+ <ul>
+ {{ range .Pages }}
+ <li>
+ <span>{{ .Date.Format "2006-01-02" }}</span> - <a href="{{ .Permalink }}">{{ .Title }}</a>
+ </li>
+ {{ end }}
+ </ul>
+ </section>
+{{ end }}