diff options
Diffstat (limited to '')
| -rw-r--r-- | themes/neonxp/layouts/_default/terms.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/themes/neonxp/layouts/_default/terms.html b/themes/neonxp/layouts/_default/terms.html new file mode 100644 index 0000000..49d993f --- /dev/null +++ b/themes/neonxp/layouts/_default/terms.html @@ -0,0 +1,17 @@ +{{ define "main" }} +<article> + <h1>{{ i18n .Title }}</h1> + {{ .Content }} +</article> +<article> + <ul class="terms"> + {{ range $key, $value := .Data.Terms }} + {{ $postCount := len $value.Pages -}} + + <li><a href=" + /{{ $.Data.Plural | urlize }}/{{ $key | urlize }}">{{ $key + }}</a> ({{$postCount}})</li> + {{ end }} + </ul> +</article> +{{ end }}
\ No newline at end of file |
