diff options
author | Patrick Spek <p.spek@tyil.nl> | 2021-12-15 10:45:58 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2021-12-15 10:45:58 +0100 |
commit | 5c086bc52fa3a226bcf706b1f420a5d98ea377dd (patch) | |
tree | da5b28238542247efbe36c49cbc6cfd4e49f3e36 /layouts/_default/term.html | |
parent | 64e0495846f8b680288280920cba6bcb28e4092f (diff) |
Redo most of the blog in Hugo
Missing posts will have to be added later
Diffstat (limited to 'layouts/_default/term.html')
-rw-r--r-- | layouts/_default/term.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/layouts/_default/term.html b/layouts/_default/term.html new file mode 100644 index 0000000..ee63c70 --- /dev/null +++ b/layouts/_default/term.html @@ -0,0 +1,19 @@ +{{ define "main" }} +<h1>Posts tagged with #{{ .Title }}</h1> +{{ .Content }} +<ul> + {{ range .Paginator.Pages }} + <li> + <a href="{{ .Permalink }}"> + {{ .Title }} + </a> + <small> + {{ .Date | dateFormat "2006-01-02" }} + {{- range .Params.tags }} + <a href="/tags/{{ . | lower }}">#{{ . }}</a> + {{- end }} + </small> + </li> + {{ end }} +</ul> +{{ end }} |