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>
|