hugo-theme-stack/docs/config/date-format.md

19 lines
439 B
Markdown
Raw Normal View History

# Date format
Fields under `[Params.DateFormat]`.
Date format setting. Notice that Go's date format is slightly different than other programming language, take a look at official documentation: [dateFormat](https://gohugo.io/functions/dateformat/)
## published
- Type: `string`
- Default: `Jan 02, 2006`
Page's publish date format.
## lastUpdated
- Type: `string`
- Default: `Jan 02, 2006 15:04 MST`
Page's last updated date format