Fix taxonomy template spacing, let taxonomies be translatable
This commit is contained in:
@@ -3,10 +3,10 @@
|
|||||||
{{ range $term, $_ := .Site.Taxonomies }}
|
{{ range $term, $_ := .Site.Taxonomies }}
|
||||||
{{ with $.Site.GetPage (printf "/%s" $term | urlize) }}
|
{{ with $.Site.GetPage (printf "/%s" $term | urlize) }}
|
||||||
<li class="book-section-flat">
|
<li class="book-section-flat">
|
||||||
<span>{{ .Title | title }}</span>
|
<a>{{ T .Title | default .Title }}</a>
|
||||||
<ul>
|
<ul>
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<li class="flex justify-between">
|
<li class="flex align-center">
|
||||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||||
<span>{{ len .Pages }}</span>
|
<span>{{ len .Pages }}</span>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user