diff options
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 60bc6f9..c69e4c3 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -6,7 +6,7 @@ <div class="post-meta"> {{- if or .Params.author .Site.Params.author -}} {{ .Params.author | default .Site.Params.author }} ยท {{ end }} - {{- .Date.Format "2006.1.2" -}} + {{- .Date.Format (.Site.Params.dateFormat | default "2006.1.2") -}} </div> </header> <div class="post-content">{{ .Content }}</div> |
