* use it in every categories appearance
This commit is contained in:
parent
94876f327e
commit
464ed12095
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
in
|
||||
<span class="categories">
|
||||
{{ range $i, $v := .Params.categories }}
|
||||
<a class="category" href="categories/{{ $v | urlize }}">{{ $v }}</a>{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }}
|
||||
<a class="category" href="{{ absLangURL "categories" }}/{{ $v | urlize }}">{{ $v }}</a>{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }}
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
in
|
||||
<span class="categories">
|
||||
{{ range $i, $v := .Params.categories }}
|
||||
<a class="category" href="categories/{{ $v | urlize }}">{{ $v }}</a>{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }}
|
||||
<a class="category" href="{{ absLangURL "categories" }}/{{ $v | urlize }}">{{ $v }}</a>{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }}
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Reference in a new issue