use dateformat
This commit is contained in:
parent
542907a4ac
commit
238739173c
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
{{ if not .Date.IsZero }}
|
||||
<time class="pull-right post-list">
|
||||
{{- .Date.Format (.Site.Params.dateform | default "Jan 02, 2006") -}}
|
||||
{{- .Date.Format (.Site.Params.dateformat | default "Jan 02, 2006") -}}
|
||||
</time>
|
||||
{{end}}
|
||||
</span>
|
||||
|
|
Loading…
Reference in a new issue