2020-05-24 21:55:32 +02:00
|
|
|
{{ $dateFormat := "2006-01-02" }}
|
|
|
|
{{ if .Site.Params.dateFormat }}
|
|
|
|
{{ $dateFormat = .Site.Params.dateFormat }}
|
|
|
|
{{ end }}
|
|
|
|
|
2020-02-18 18:52:31 +01:00
|
|
|
<div class="article-info">
|
|
|
|
{{ if .Params.date }}
|
2020-05-24 21:55:32 +02:00
|
|
|
<div class="article-date">{{ .Params.date.Format $dateFormat }}</div>
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ end }}
|
|
|
|
<div class="article-taxonomies">
|
|
|
|
{{ if .Params.categories }}
|
|
|
|
<ul class="article-categories">
|
|
|
|
{{ range .Params.categories }}
|
2020-05-24 18:07:02 +02:00
|
|
|
<li><a href="{{ "categories/" | absLangURL }}{{ . }}">{{ . }}</a></li>
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
{{ if .Params.tags }}
|
|
|
|
<ul class="article-tags">
|
|
|
|
{{ 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>
|