2020-05-24 21:55:32 +02:00
|
|
|
{{ $dateFormat := "2006-01-02" }}
|
|
|
|
{{ if .Site.Params.dateFormat }}
|
|
|
|
{{ $dateFormat = .Site.Params.dateFormat }}
|
|
|
|
{{ end }}
|
|
|
|
|
2020-06-06 21:05:21 +02:00
|
|
|
<div class="post-info">
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ if .Params.date }}
|
2020-06-06 21:05:21 +02:00
|
|
|
<div class="post-date">{{ .Params.date.Format $dateFormat }}</div>
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ end }}
|
2020-06-06 21:05:21 +02:00
|
|
|
<div class="post-taxonomies">
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ if .Params.categories }}
|
2020-06-06 21:05:21 +02:00
|
|
|
<ul class="post-categories">
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ range .Params.categories }}
|
2020-07-30 21:37:16 +02:00
|
|
|
<li><a href="{{ "categories/" | urlize | absLangURL }}">{{ . }}</a></li>
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
{{ if .Params.tags }}
|
2020-06-06 21:05:21 +02:00
|
|
|
<ul class="post-tags">
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ range .Params.tags }}
|
2020-05-24 18:07:02 +02:00
|
|
|
<li><a href="{{ "tags/" | absLangURL }}{{ . | urlize }}">#{{ . }}</a></li>
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2020-03-08 18:10:05 +01:00
|
|
|
</div>
|