Format dates as YYYY-MM-DD
This commit is contained in:
parent
e46b83375d
commit
8d534bcdad
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
||||||
{{ if or (.Params.author) (.Params.date) }}
|
{{ if or (.Params.author) (.Params.date) }}
|
||||||
<p>
|
<p>
|
||||||
{{ if .Params.author }}By {{ .Params.author }}{{ if .Date }}, {{ end }}{{ end }}
|
{{ if .Params.author }}By {{ .Params.author }}{{ if .Date }}, {{ end }}{{ end }}
|
||||||
{{ if .Date }}{{ .Date.Format "2 January 2006" }}{{ end }}
|
{{ if .Date }}{{ .Date.Format "2006-01-02" }}{{ end }}
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue