Made dateFormat configurable in config.toml
This commit is contained in:
parent
44bdb457db
commit
d5de1306d0
4 changed files with 4 additions and 3 deletions
|
|
@ -13,7 +13,7 @@
|
|||
{{ end }}
|
||||
|
||||
{{ if eq .Type "post" }}
|
||||
<span class="post-meta">Posted on {{ .Date.Format "January 2, 2006" }}</span>
|
||||
<span class="post-meta">Posted on {{ .Date.Format .Site.Params.dateFormat }}</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue