1
0
mirror of https://github.com/playit-cloud/support-docs.git synced 2025-02-22 22:16:44 +00:00
support-docs/themes/kiss/layouts/partials/taxonomies_count.html
Patrick Lorio 87c8e8c71c Initial commit
2022-08-29 13:18:51 -07:00

13 lines
383 B
HTML

{{if .Site.Params.Info.taxonomiesCount}}
{{ $title := urlize .Title }}
{{ range $taxonomy_name, $taxonomy := .Site.Taxonomies }}
{{ if eq $.Section $taxonomy_name}}
{{ range $key, $value := $taxonomy }}
{{ $term := urlize $key }}
{{ if eq $title $term }}
({{ $value.Count }})
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}