Use dateformat parameter in posts list
This commit is contained in:
parent
8edca610b2
commit
2a8d9d4097
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
<span class="list__title--small">
|
<span class="list__title--small">
|
||||||
<a href="{{ .RelPermalink }}" {{if .Draft}}class="draft"{{end}}>{{ .Title }}</a>
|
<a href="{{ .RelPermalink }}" {{if .Draft}}class="draft"{{end}}>{{ .Title }}</a>
|
||||||
{{if not .Date.IsZero}}
|
{{if not .Date.IsZero}}
|
||||||
<time class="pull-right hidden-tablet">{{.Date.Format ("Jan 02 '06")}}</time>
|
<time class="pull-right hidden-tablet">{{ .Date.Format (.Site.Params.dateformat | default "Jan 02 '06") }}</time>
|
||||||
{{end}}
|
{{end}}
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue