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 }}
|
2023-05-12 19:25:51 +02:00
|
|
|
<div class="post-date dt-published"><a class="u-url" href="{{ .RelPermalink }}">{{ .Params.date.Format $dateFormat }}<a/></div>
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ end }}
|
2021-11-06 22:21:17 +01:00
|
|
|
|
2021-01-20 20:12:50 +01:00
|
|
|
<a class="post-hidden-url u-url" href="{{ .Permalink }}">{{ .Permalink }}</a>
|
2021-07-14 00:52:52 +02: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">
|
2021-12-31 23:03:40 +01:00
|
|
|
{{ range $cat_name := .Params.categories }}
|
2023-05-05 21:16:26 +02:00
|
|
|
{{ $cat := ($.Site.GetPage (printf "/categories/%s" $cat_name | urlize )) }}
|
2022-01-03 10:22:43 +01:00
|
|
|
<li><a href="{{ $cat.Permalink }}">{{ $cat.Title | default $cat_name }}</a></li>
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2023-02-16 04:27:56 +01:00
|
|
|
{{ end }}
|
|
|
|
{{ if .Params.tags }}
|
|
|
|
<ul class="post-tags">
|
|
|
|
{{ range $tag_name := .Params.tags }}
|
2023-05-05 21:16:26 +02:00
|
|
|
{{ $tag := ($.Site.GetPage (printf "/tags/%s" $tag_name | urlize )) }}
|
2023-02-16 04:27:56 +01:00
|
|
|
<li><a href="{{ $tag.Permalink }}">#{{ $tag.Title | default $tag_name }}</a></li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
{{ if .Params.authors }}
|
|
|
|
<ul class="post-authors">
|
|
|
|
{{ range $author_name := .Params.authors }}
|
2023-05-05 21:16:26 +02:00
|
|
|
{{ $author := ($.Site.GetPage (printf "/authors/%s" $author_name | urlize )) }}
|
2023-02-16 04:27:56 +01:00
|
|
|
<li><a href="{{ $author.Permalink }}">@{{ $author_name }}</a></li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
2020-03-08 18:10:05 +01:00
|
|
|
</div>
|