Merge pull request #64 from EpicEric/feature/dateformat-posts-list
Use dateformat parameter in posts list
This commit is contained in:
commit
754c3149dc
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
<span class="list__title--small">
|
||||
<a href="{{ .RelPermalink }}" {{if .Draft}}class="draft"{{end}}>{{ .Title }}</a>
|
||||
{{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}}
|
||||
</span>
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue