diff options
author | Óscar Nájera <hello@oscarnajera.com> | 2018-07-15 23:47:14 +0200 |
---|---|---|
committer | Óscar Nájera <hello@oscarnajera.com> | 2018-07-15 23:53:48 +0200 |
commit | e143b76386ff84d8d7b51c465043aeadfcae97bf (patch) | |
tree | 0eca586a2b7024cfbe46187cb2f4ebebd7b65e21 /layouts/_default/list.html | |
parent | 7b7fe5cd41b44615509a4c9d11e33224971209b7 (diff) | |
download | hugo-minimalist-theme-e143b76386ff84d8d7b51c465043aeadfcae97bf.tar.gz hugo-minimalist-theme-e143b76386ff84d8d7b51c465043aeadfcae97bf.tar.bz2 hugo-minimalist-theme-e143b76386ff84d8d7b51c465043aeadfcae97bf.zip |
Appropriately set up taxonomies pages
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r-- | layouts/_default/list.html | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 7c9593d..dd42aa7 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,20 +1,8 @@ {{ define "main" }} -<section class="bg-near-white"> - <ul> - {{ range $taxonomyname, $taxonomy := .Site.Taxonomies }} - <li><a href="/{{ $taxonomyname | urlize }}">{{ $taxonomyname }}</a> - <ul> - {{ range $key, $value := $taxonomy }} - <li> {{ $key }} </li> - <ul> - {{ range $value.Pages }} - <li hugo-nav="{{ .RelPermalink}}"><a href="{{ .Permalink}}"> {{ .LinkTitle }} </a> </li> - {{ end }} - </ul> - {{ end }} - </ul> - </li> +<section class="bg-near-white pb2"> + {{ range .Paginator.Pages }} + {{ .Render "summary" }} {{ end }} - </ul> + {{ partial "pagination.html" . }} </section> {{ end }} |