From 2cf8a469bd64ce035aa2a5fea467e4f8b8e52a0d Mon Sep 17 00:00:00 2001 From: Giuseppe Pignataro Date: Sun, 5 May 2019 10:30:21 +0200 Subject: Minor changes --- layouts/_default/terms.html | 46 --------------------------------------------- 1 file changed, 46 deletions(-) diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 391e3c2..8261c5c 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -9,34 +9,6 @@

- {{ .Data.Plural | humanize }} -

{{ if and $.Site.Taxonomies.categories (eq $termName "categories") }} -
-{{ range $terms }} - {{ $term := .Term }} - {{ $pages := .Pages }} - {{ with $.Site.GetPage "taxonomy" (printf "%s/%s" $type $term) }} -
-
-

{{ $term | humanize}}

- {{ range first 5 $pages }} - - {{ end }} - {{ if gt (len $pages) 5 }} - - {{ i18n "More" }} >> - - {{ end }}{{ define "content" }} - -{{ $termName := .Data.Plural }} -{{ $terms := .Data.Terms.ByCount }} -{{ $length := len $terms }} -{{ $type := .Type }} - -
-

- {{ .Data.Plural | humanize }} -

-{{ if and $.Site.Taxonomies.categories (eq $termName "categories") }} -
{{ range $terms }} {{ $term := .Term }} @@ -70,24 +42,6 @@ {{end}}
-{{ end }} -
-{{end }} -
-
- {{ end }} -{{ end }} -
- -{{ else if and $.Site.Taxonomies.tags (eq $termName "tags") }} -
- {{ range $.Site.Taxonomies.tags.ByCount }} - {{ if .Name }} - {{ .Name }} ({{ .Count }}) - {{ end }} - {{end}} -
- {{ end }} {{end }} -- cgit v1.2.3