diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 354bc9c..f8d9e23 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,7 +1,12 @@ {{ define "main" }} {{ if .Data.Singular }} - {{ i18n "filtering-for" }} "{{ .Title }}" + {{ i18n "filtering-for" }} "{{ .Title }}" + {{ else }} + {{ .Title }} + {{ $t := .Site.GetPage "tags"}} + {{ $c := .Site.GetPage "categories"}} + {{ .Pages.Len }} posts sortable by categories or tags. {{ end }} {{ range .Pages }} @@ -25,12 +30,5 @@ {{ end }} - {{ if not .Data.Singular }} - - {{ range .Site.Taxonomies.tags }} - #{{ .Page.Title }} - {{ end }} - - {{ end }} {{ end }}
{{ .Pages.Len }} posts sortable by categories or tags.