diff options
-rw-r--r-- | hugo.toml | 1 | ||||
-rw-r--r-- | layouts/partials/post-entry.html | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ baseURL = 'https://example.org/' languageCode = 'en-us' +defaultContentLanguage = 'en-us' title = 'typo' [module] diff --git a/layouts/partials/post-entry.html b/layouts/partials/post-entry.html index 2439632..1f57f23 100644 --- a/layouts/partials/post-entry.html +++ b/layouts/partials/post-entry.html @@ -5,7 +5,7 @@ {{ $dateFormat = .}} {{ end }} - <p class="line-date">{{ .Date.Format $dateFormat }} </p> + <p class="line-date">{{ .Date | time.Format $dateFormat }} </p> <div> <p class="line-title"> |