and another one
This commit is contained in:
parent
e82d2bb68a
commit
5e41bb2a86
1 changed files with 2 additions and 1 deletions
|
@ -12,8 +12,9 @@
|
|||
|
||||
<div class="postmeta">Geschrieben am <time datetime='{{ .Date | time.Format ":date_long" }}' pubdate="">{{ .Date | time.Format ":date_long" }}</time> in
|
||||
<span class="categories">
|
||||
{{ $x := .Site.baseUrl }}
|
||||
{{ range $i, $v := .Params.categories }}
|
||||
<a class="category" href="{{ .baseUrl }}categories/{{ $v | urlize }}">{{ $v }}</a>{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }}
|
||||
<a class="category" href="{{ $x }}categories/{{ $v | urlize }}">{{ $v }}</a>{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }}
|
||||
{{ end }}
|
||||
</span>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue