mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 10:58:43 -04:00
Fix wrong date in frontmatter config example (#602)
This commit is contained in:
parent
0b3022eb12
commit
5ec663bd60
@ -358,7 +358,7 @@ The above will try first to extract the value for `.Lastmod` starting with the `
|
|||||||
|
|
||||||
|
|
||||||
`:filename`
|
`:filename`
|
||||||
: Fetches the date from the content file's filename. For example, `218-02-22-mypage.md` will extract the date `218-02-22`. Also, if `slug` is not set, `mypage` will be used as the value for `.Slug`.
|
: Fetches the date from the content file's filename. For example, `2018-02-22-mypage.md` will extract the date `2018-02-22`. Also, if `slug` is not set, `mypage` will be used as the value for `.Slug`.
|
||||||
|
|
||||||
An example:
|
An example:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user