aboutsummaryrefslogtreecommitdiff
path: root/layouts/taxonomy
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-04-11 14:35:29 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-04-11 14:35:29 +0200
commit15339ab6a6f39729bd1be500e7fc32b89eb37b55 (patch)
treee8ee3baf8b95ebd4cea6de346f91bf3f1544dbac /layouts/taxonomy
parent8927a3c672a6e7a40519626b7df31d7dace800a9 (diff)
#157, Refactor side menu, simpler and renders all pages at root
Diffstat (limited to 'layouts/taxonomy')
-rw-r--r--layouts/taxonomy/taxonomy.html4
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 }}