diff options
author | bimmer44 <david@rooikat.com> | 2019-01-29 12:39:18 +0300 |
---|---|---|
committer | bimmer44 <david@rooikat.com> | 2019-01-29 12:39:18 +0300 |
commit | be6702f0f443c0c92ba7d2b1ca57bcf8ea3314d5 (patch) | |
tree | 5543847a95dccdbd93ce517c76c84127d304f758 /layouts/index.html | |
parent | b09f6b67dd4ed8fa62daee1f45f732fd47e1abe4 (diff) |
Further attempt to fix date format issue
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index 461fef5..d9930f2 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -14,7 +14,7 @@ <div class="post-heading"> <h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1> - <span>{{ .Date.Format .Site.Params.DateFormat }}{{ if .Params.author }} by {{ .Params.author }}{{ end }}</span> + <span>{{ .Date.Format "Jan 2, 2006" }}{{ if .Params.author }} by {{ .Params.author }}{{ end }}</span> </div> {{ .Content }} @@ -32,4 +32,4 @@ </div> </div> -{{ partial "footer.html" . }}
\ No newline at end of file +{{ partial "footer.html" . }} |