From 15339ab6a6f39729bd1be500e7fc32b89eb37b55 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sat, 11 Apr 2020 14:35:29 +0200 Subject: #157, Refactor side menu, simpler and renders all pages at root --- layouts/taxonomy/taxonomy.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/taxonomy') 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 }}

@@ -9,11 +8,12 @@

{{- .Summary -}} {{ if .Truncated }} - ... + ... {{ end }}

{{ end }} + {{ template "_internal/pagination.html" . }} {{ end }} -- cgit v1.2.3