diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-02-24 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-02-24 00:00:00 +0000 |
commit | f02f6b0db09299666d78ae21243b7e919a275edb95458f33404c9eaff3aa92be (patch) | |
tree | b4c6db2fa214c21bf35c8e415e9de70315d88dcf860fe258f1cc0baf3c3e2cee /layouts/_default/taxonomy.html | |
parent | ed6662cdd570b1af333a4107c4035ab78fd4d355132c83818db7e3ea47edbde0 (diff) | |
download | hugo-theme-journal-f02f6b0db09299666d78ae21243b7e919a275edb95458f33404c9eaff3aa92be.tar.gz hugo-theme-journal-f02f6b0db09299666d78ae21243b7e919a275edb95458f33404c9eaff3aa92be.zip |
Implement taxonomies
Diffstat (limited to 'layouts/_default/taxonomy.html')
-rw-r--r-- | layouts/_default/taxonomy.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html new file mode 100644 index 0000000..28147b9 --- /dev/null +++ b/layouts/_default/taxonomy.html @@ -0,0 +1,10 @@ +{{ define "main" -}} +<main> + <h1>All {{ .Type }}</h1> + <ul class="list"> + {{- range .Data.Pages }} + <li class="list__item"><a class="link" href="{{ .RelPermalink }}" rel="noreferrer">{{ emojify ":link:" }} {{ .Title }}</a></li> + {{- end }} + </ul> +</main> +{{- end }} |