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 }}
|
2021-01-20 20:12:50 +01:00
|
|
|
<div class="post-date dt-published">{{ .Params.date.Format $dateFormat }}</div>
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ end }}
|
2021-01-20 20:12:50 +01:00
|
|
|
|
|
|
|
<a class="post-hidden-url u-url" href="{{ .Permalink }}">{{ .Permalink }}</a>
|
2021-02-24 15:24:51 +01:00
|
|
|
<a href={{ .Site.BaseURL }} class="p-name p-author post-hidden-author h-card" rel="me">{{ .Params.author | default .Site.Params.author }}</a>
|
2021-02-23 21:49:44 +01:00
|
|
|
|
2021-01-20 20:12:50 +01:00
|
|
|
|
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>
|