blob: 31a81982d2c9ef744b4b68af01c263aeed5d90c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{{ $dateFormat := default "Jan 2, 2006" (index .Site.Params "date_format") }}
{{ $author := .Params.author | default .Site.Params.author }}
{{ if not .Date.IsZero }}
{{ .Date.Format $dateFormat }}
{{ end }}
<!--
{{ if $author }}
{{ i18n "by" }} <span class="font-bold" rel="author">{{ $author }}</span>
{{ end }}
-->
|