summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/tags/term.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layouts/tags/term.html b/layouts/tags/term.html
new file mode 100644
index 0000000..51965a3
--- /dev/null
+++ b/layouts/tags/term.html
@@ -0,0 +1,20 @@
+{{ define "main" }}
+
+ <main>
+ <div>
+ <h2>{{ .Title }}</h2>
+ {{ .Content }}
+ <ul>
+ {{ range .Pages.ByDate.Reverse }}
+ {{ if eq .Section "stream"}}
+ {{ $url := (.Date.Format "Monday 2 January 2006") | urlize }}
+ <li>Stream: <a href="/stream/#{{ $url }}">{{ .Date.Format "Monday 2 January 2006" }}</a></li>
+ {{ else }}
+ <li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
+ {{ end }}
+ {{ end }}
+ </ul>
+ </div>
+ </main>
+
+{{ end }}