Add partials for tags and categories based on the now finished series partial.
This commit is contained in:
10
layouts/partials/categories.html
Normal file
10
layouts/partials/categories.html
Normal 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 }}
|
||||
10
layouts/partials/tags.html
Normal file
10
layouts/partials/tags.html
Normal 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 }}
|
||||
Reference in New Issue
Block a user