mirror of
https://github.com/Vimux/Binario.git
synced 2024-12-23 04:59:06 +00:00
69b90178c1
This commit adds support in having tags in entry.meta. This includes: - Updating the README - Adding values for tags across multiple languages (en, fr, it, pt-br, pt) - Moving from span to div in entry/meta/categories to make sure each one of 'tags' and 'categories' sections is in a separate line.
11 lines
No EOL
405 B
HTML
11 lines
No EOL
405 B
HTML
{{- if .Params.categories }}
|
|
<div class="entry__meta-categories meta-categories">
|
|
<span class="meta-categories__list">{{ T "meta_categories" }}:
|
|
{{- range $index, $category := .Params.categories }}{{ if gt $index 0 }}, {{ end }}
|
|
<a class="meta-categories__link" href="{{ "categories/" | relLangURL }}{{ . | urlize | lower }}/" rel="category">
|
|
{{- . -}}
|
|
</a>
|
|
{{- end }}
|
|
</span>
|
|
</div>
|
|
{{- end }} |