File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,16 @@ Full list of available default post meta fields:
80
80
In addition to the default meta fields, you can add your own by placing a custom partial under
81
81
` layouts/partials/post_meta/<name>.html ` .
82
82
83
+ #### Post meta: ` date ` localization
84
+
85
+ With [ Hugo v0.87.0] ( https://gohugo.io/news/0.87.0-relnotes/ ) (or later), ` date ` meta field shows localized dates (with
86
+ weekdays and months in the current language) by default. In most cases, such a transition is painless, but owners of
87
+ multilingual sites should be careful and check that everything translates as expected after the upgrade.
88
+
89
+ You can also use a predefined layout, like ` :date_full ` , and it will output localized dates or times. For additional
90
+ information about localized dates and possible date/time formatting layouts, please see
91
+ [ Hugo: time.Format] ( https://gohugo.io/functions/dateformat/ ) .
92
+
83
93
### Thumbnail visibility
84
94
85
95
By default, a thumbnail image has shown for a list and single pages simultaneously. In some cases, you may want to show
You can’t perform that action at this time.
0 commit comments