Add partials for tags and categories based on the now finished series partial.

This commit is contained in:
2025-11-16 11:56:44 -07:00
parent a07a87f838
commit 4b59058e95
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{{ with .Params.categories }}
<p>
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
src="/feathericons/16px-a9a9b3/folder.svg" alt="Series:"
>
{{ range . -}}
<span class="tag"><a href="{{ "categories/" | absLangURL }}{{ . | urlize }}/">{{.}}</a></span>
{{ end }}
</p>
{{ end }}

View File

@@ -0,0 +1,10 @@
{{ with .Params.tags }}
<p>
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
src="/feathericons/16px-a9a9b3/tag.svg" alt="Series:"
>
{{ range . -}}
<span class="tag"><a href="{{ "tags/" | absLangURL }}{{ . | urlize }}/">{{.}}</a></span>
{{ end }}
</p>
{{ end }}