summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hugo.toml1
-rw-r--r--layouts/partials/post-entry.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/hugo.toml b/hugo.toml
index 0456687..709ba78 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -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">