summaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-08-16 01:21:02 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-08-16 01:21:02 +0200
commitc0d248d18c4d2a8921ef59377c26382abbffe8c3 (patch)
treefa28596ff7a5f3dda63174ffa58b21ee81e99e79 /layouts/_default/list.html
parentaccd771c040f2869e2e464d33cb90e70576ba7e1 (diff)
Update hugo framework
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..b6a63be
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,11 @@
+{{ partial "header.html" . -}}
+<header><h1 id="tag_{{ .Title }}">{{ .Title | title }}</h1></header>
+<article>
+{{ .Content -}}
+<ul>
+{{- range.Pages }}
+ <li><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> &ndash; <a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
+{{ end -}}
+</ul>
+</article>
+{{- partial "footer.html" . }}