mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-10 17:31:35 -05:00
14 lines
501 B
HTML
14 lines
501 B
HTML
{{ with (.GetTerms "categories") }}
|
|
{{ $categories := slice }}
|
|
{{ range . }}
|
|
{{ $categories = $categories | append (printf `<a href="%s">%s</a>` .Permalink .LinkTitle) }}
|
|
{{ end }}
|
|
|
|
<div class="page-metadata-section categories" aria-label="{{ i18n "aria_post_meta_categories" }}">
|
|
{{ partial "icon.html" "folder" }}
|
|
{{ range . }}
|
|
<a href="{{ .Permalink }}" data-pagefind-filter="category">{{ .LinkTitle }}</a>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|