diff --git a/layouts/partials/widget/taxonomy.html b/layouts/partials/widget/taxonomy.html index a5862ae..baf5171 100644 --- a/layouts/partials/widget/taxonomy.html +++ b/layouts/partials/widget/taxonomy.html @@ -8,22 +8,22 @@ {{- if not (and $isTaxonomyPage $hideInTaxonomyPage) -}}
- {{ partial "helper/icon" (default "tag" .Params.icon) }} + {{- partial "helper/icon" (default "tag" .Params.icon) -}}

- {{ default $taxonomyPage.Title .Params.title }} + {{- default $taxonomyPage.Title .Params.title -}}

- {{ $pages := index $context.Site.Taxonomies .Params.type }} - {{ $pagesSorted := $pages.ByCount }} - {{ range first $limit $pagesSorted }} - - {{ .Page.Title }} + {{- $pages := index $context.Site.Taxonomies .Params.type -}} + {{- $pagesSorted := $pages.ByCount -}} + {{- range first $limit $pagesSorted -}} + + {{- .Page.Title -}} - {{ end }} + {{- end -}}
{{- end -}}