mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-16 13:05:58 -06:00
12 lines
386 B
HTML
12 lines
386 B
HTML
|
{{ with (.GetTerms "categories") }}
|
||
|
{{ $categories := slice }}
|
||
|
{{ range . }}
|
||
|
{{ $categories = $categories | append (printf `<a href="%s">%s</a>` .Permalink .LinkTitle) }}
|
||
|
{{ end }}
|
||
|
|
||
|
<div class="categories" aria-label="{{ i18n "aria_post_meta_categories" }}">
|
||
|
{{ partial "icon.html" "folder" }}
|
||
|
{{ delimit $categories ", " }}
|
||
|
</div>
|
||
|
{{ end }}
|