diff options
author | Jleopore <Jleopore@DESKTOP-4VP2HMN> | 2019-06-09 15:53:24 +0300 |
---|---|---|
committer | Fabien <vaga@users.noreply.github.com> | 2019-06-13 15:25:16 +0300 |
commit | a641e52c7c0fd57f81bfb45824766065d43c42ea (patch) | |
tree | 35728b0ed9548dac6822c22653203ed5b62f1a53 | |
parent | 2a1cbebf8ceb72826b51962ea7bbb0947b901a0d (diff) |
Add a tags (terms) page instead of using the default list page
-rw-r--r-- | layouts/_default/terms.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html new file mode 100644 index 0000000..efce125 --- /dev/null +++ b/layouts/_default/terms.html @@ -0,0 +1,16 @@ +{{ define "main" }} + <article> + <h1>{{ .Title }}</h1> + <ul class="posts-list"> + {{ range .Data.Terms.Alphabetical }} + <li class="posts-list-item"> + <a class="posts-list-item-title" href="{{ .Page.Permalink }}"> + {{ .Page.Title }} + </a> + {{ .Count }} + </li> + {{ end }} + </ul> + {{ partial "pagination.html" $ }} + </article> +{{ end }} |