Switches to short year in post listing

This commit is contained in:
Huy Tran 2018-07-14 09:56:17 +10:00
parent f4aa888a5c
commit cefd39e9a1

View file

@ -6,7 +6,7 @@
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ if not .Date.IsZero }}
<time class="pull-right post-list">
{{- .Date.Format (.Site.Params.dateformat | default "Jan 02, 2006") -}}
{{- .Date.Format ("Jan 02 '06") -}}
</time>
{{end}}
</span>