diff --git a/README.md b/README.md index 9c087e1..e47cac4 100644 --- a/README.md +++ b/README.md @@ -288,7 +288,8 @@ Dates of blog posts and single pages are rendered with the default date format c date_format = "2. January 2006" ``` -See hugo's documentation of the [`dateFormat` function](https://gohugo.io/functions/dateformat/) for more details. +With hugo 0.87.0 and above, you can also use predefined layout, like `:date_full`, and it will output localized dates or times. +See hugo's documentation of the [`time.Format` function](https://gohugo.io/functions/dateformat/) for more details. ### Nearly finished diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a40a4c5..a8978ed 100755 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -32,7 +32,7 @@ {{/* Hugo uses Go's date formatting is set by example. Here are two formats */}} {{ if not .Date.IsZero }} {{end}} diff --git a/layouts/post/summary.html b/layouts/post/summary.html index aa92cc7..05653f5 100644 --- a/layouts/post/summary.html +++ b/layouts/post/summary.html @@ -1,7 +1,7 @@