Made date format configurable
Can be configured in config.toml Params.dateFormat
This commit is contained in:
parent
2b485bb5da
commit
0338abd814
4 changed files with 4 additions and 3 deletions
|
|
@ -36,7 +36,7 @@
|
|||
</a>
|
||||
|
||||
<p class="post-meta">
|
||||
Posted on {{ .Date.Format "January 2, 2006" }}
|
||||
Posted on {{ .Date.Format .Site.Params.dateFormat }}
|
||||
</p>
|
||||
<div class="post-entry">
|
||||
{{ if .Truncated }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue