Merge pull request #452 from ttybitnik/fix/blog-list-dates
Fix: Implement builtin localization for dates in blog list
This commit is contained in:
commit
88cdc261a2
1 changed files with 3 additions and 3 deletions
|
@ -19,9 +19,9 @@
|
|||
<span class="post-title">{{.Title}}</span>
|
||||
<span class="post-day">
|
||||
{{ if .Site.Params.dateformShort }}
|
||||
{{ .Date.Format .Site.Params.dateformShort }}
|
||||
{{ time.Format .Site.Params.dateformShort .Date }}
|
||||
{{ else }}
|
||||
{{ .Date.Format "Jan 2"}}
|
||||
{{ time.Format "Jan 2" .Date }}
|
||||
{{ end }}
|
||||
</span>
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue