mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 20:23:18 -06:00
BBaoVanC
7bc8a4cb57
- Add vim folds to make organized sections - Rename a lot of classes from post- to page- - Generalize series CSS classes better - Clean up navbar div structure - Remove langpicker and most of multilingual support - many other minor tweaks
12 lines
408 B
HTML
12 lines
408 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" }}
|
|
{{ delimit $categories ", " }}
|
|
</div>
|
|
{{ end }}
|