diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-04-11 14:35:29 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-04-11 14:35:29 +0200 |
commit | 15339ab6a6f39729bd1be500e7fc32b89eb37b55 (patch) | |
tree | e8ee3baf8b95ebd4cea6de346f91bf3f1544dbac /layouts/taxonomy/taxonomy.html | |
parent | 8927a3c672a6e7a40519626b7df31d7dace800a9 (diff) |
#157, Refactor side menu, simpler and renders all pages at root
Diffstat (limited to 'layouts/taxonomy/taxonomy.html')
-rw-r--r-- | layouts/taxonomy/taxonomy.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/taxonomy/taxonomy.html b/layouts/taxonomy/taxonomy.html index 91a7458..12207c8 100644 --- a/layouts/taxonomy/taxonomy.html +++ b/layouts/taxonomy/taxonomy.html @@ -1,5 +1,4 @@ {{ define "main" }} - {{ $paginator := .Paginate (where .Pages "Params.hidden" "ne" true) }} {{ range sort .Paginator.Pages }} <article class="markdown book-post"> <h2> @@ -9,11 +8,12 @@ <p> {{- .Summary -}} {{ if .Truncated }} - <a href="{{ .RelPermalink }}">...</a> + <a href="{{ .RelPermalink }}">...</a> {{ end }} </p> </article> {{ end }} + {{ template "_internal/pagination.html" . }} {{ end }} |