10 lines
277 B
HTML
10 lines
277 B
HTML
{{ $dateFormat := "2006-01-02" }}
|
|
{{ if .Site.Params.dateFormat }}
|
|
{{ $dateFormat = .Site.Params.dateFormat }}
|
|
{{ end }}
|
|
|
|
<div class="article-info">
|
|
{{ if .Params.date }}
|
|
<div class="article-date">{{ .Params.date.Format $dateFormat }}</div>
|
|
{{ end }}
|
|
</div> |