diff options
Diffstat (limited to 'layouts/taxonomy/list.html')
-rw-r--r-- | layouts/taxonomy/list.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html index e69de29..31ecd90 100644 --- a/layouts/taxonomy/list.html +++ b/layouts/taxonomy/list.html @@ -0,0 +1,13 @@ +{{ define "main" }} +<article class="markdown"> + <h1>{{ .Title | title }}</h1> + {{ $taxonomies := index .Site.Taxonomies .Page.Type }} + {{ range $taxonomies }} + <div><a href="{{ .Page.Permalink }}">{{ .Page.Title }} <sup>{{ .Count }}</sup></a></div> + {{ end }} +</article> +{{ end }} + +{{ define "toc" }} + {{ partial "docs/taxonomy" . }} +{{ end }} |