aboutsummaryrefslogtreecommitdiff
path: root/templates/serieslist.html
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2019-09-12 18:49:03 -0400
committerGitHub <noreply@github.com>2019-09-12 18:49:03 -0400
commit7a302eb69bfef1ecd0a17e16085bd4359a0ae717 (patch)
treefc6d777b3c4f2af57951f0921de8a334ad4cfee8 /templates/serieslist.html
parent2007492c492be3c32b19fbfcc6b6c1a5cc5ef0e0 (diff)
downloadxesite-7a302eb69bfef1ecd0a17e16085bd4359a0ae717.tar.xz
xesite-7a302eb69bfef1ecd0a17e16085bd4359a0ae717.zip
Series and tags (#74)
* initial support for tags and series * tagging support * oops * Update main.go
Diffstat (limited to 'templates/serieslist.html')
-rw-r--r--templates/serieslist.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/serieslist.html b/templates/serieslist.html
new file mode 100644
index 0000000..d3d0ac2
--- /dev/null
+++ b/templates/serieslist.html
@@ -0,0 +1,16 @@
+{{ define "title" }}
+<title>Blog {{.Name}} - Christine Dodrill</title>
+{{ end }}
+
+{{ define "content" }}
+<h1>Series: {{ .Name }}</h1>
+
+<p>
+ <ul>
+ {{ range .Posts }}
+ <li>{{ .DateString }} - <a href="/{{ .Link }}">{{ .Title }}</a></li>
+ {{ end }}
+ </ul>
+</p>
+
+{{ end }}