Merge pull request #4 from miyako-ep/use_dateformat

use dateformat
This commit is contained in:
Huy Tran 2018-04-25 20:16:36 +10:00 committed by GitHub
commit 799fd1e88b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@
<a href="{{ .Permalink }}">{{ .Title }}</a> <a href="{{ .Permalink }}">{{ .Title }}</a>
{{ if not .Date.IsZero }} {{ if not .Date.IsZero }}
<time class="pull-right post-list"> <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> </time>
{{end}} {{end}}
</span> </span>