Skip to content

Commit

Permalink
Use dateformat parameter in posts list
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicEric committed Feb 8, 2019
1 parent 8edca61 commit 2a8d9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/posts-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2a8d9d4

Please sign in to comment.