mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-13 18:31:36 -05:00
Use individual <a> for each tag/category/etc in post metadata
Fixes #85
This commit is contained in:
@@ -4,8 +4,10 @@
|
||||
{{ $categories = $categories | append (printf `<a href="%s">%s</a>` .Permalink .LinkTitle) }}
|
||||
{{ end }}
|
||||
|
||||
<div class="page-metadata-section categories" data-pagefind-meta="categories" aria-label="{{ i18n "aria_post_meta_categories" }}">
|
||||
<div class="page-metadata-section categories" aria-label="{{ i18n "aria_post_meta_categories" }}">
|
||||
{{ partial "icon.html" "folder" }}
|
||||
{{ delimit $categories ", " | safeHTML }}
|
||||
{{ range . }}
|
||||
<a href="{{ .Permalink }}" data-pagefind-filter="category">{{ .LinkTitle }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user