diff options
Diffstat (limited to 'layouts/partials/list-taxonomy-terms.html')
-rw-r--r-- | layouts/partials/list-taxonomy-terms.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/partials/list-taxonomy-terms.html b/layouts/partials/list-taxonomy-terms.html new file mode 100644 index 0000000..9c813eb --- /dev/null +++ b/layouts/partials/list-taxonomy-terms.html @@ -0,0 +1,13 @@ +<em>{{ $.label }} + +{{ range $term := .terms }} + + {{ $term_path := lower (replace ($term) " " "-") }} + {{ $term_page := site.GetPage (path.Join $.parent $term_path) }} + {{ $url := $term_page.Permalink}} + + <a href={{ $url }}>{{ $term }}</a> + +{{ end }} + +</em> |