f0969d9a3f
Fix wrong category links
27 lines
894 B
HTML
27 lines
894 B
HTML
{{ $dateFormat := "2006-01-02" }}
|
|
{{ if .Site.Params.dateFormat }}
|
|
{{ $dateFormat = .Site.Params.dateFormat }}
|
|
{{ end }}
|
|
|
|
<div class="post-info">
|
|
{{ if .Params.date }}
|
|
<div class="post-date">{{ .Params.date.Format $dateFormat }}</div>
|
|
{{ end }}
|
|
<div class="post-taxonomies">
|
|
{{ if .Params.categories }}
|
|
<ul class="post-categories">
|
|
{{ range .Params.categories }}
|
|
<li><a href="{{ "categories/" | absLangURL }}{{ . | urlize }}">{{ . }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
{{ if .Params.tags }}
|
|
<ul class="post-tags">
|
|
{{ range .Params.tags }}
|
|
<li><a href="{{ "tags/" | absLangURL }}{{ . | urlize }}">#{{ . }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|