From dce0d1faaedb3c7b10a74f766956d7fbb3270091 Mon Sep 17 00:00:00 2001 From: Emiliano Tortorella Date: Wed, 14 Nov 2018 22:06:44 -0400 Subject: [PATCH] Changed the taxonomy page so it looks like the list page and added some parametrization: list_article_class list_main_class list_section_class list_post_summary_class taxonomy_text_copy list_post_summary_with_image --- layouts/_default/taxonomy.html | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index e2d1505..711fd4e 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -1,16 +1,18 @@ {{ define "main" }} -
- -
-
-
- {{ range .Pages }} -
- {{ partial "summary.html" . }} -
- {{ end }} -
-
+
+
+ {{ .Site.Params.taxonomy_text_copy | default "Below you will find pages that utilize the taxonomy term" }} “{{ .Title }}” +
+
+ {{ range .Paginator.Pages }} +
+ {{ if .Site.Params.list_post_summary_with_image }} + {{- partial "summary-with-image.html" . -}} + {{ else }} + {{- partial "summary.html" . -}} + {{ end }} +
+ {{ end }} +
+ {{- template "_internal/pagination.html" . -}} {{ end }}