mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 02:14:40 +00:00
Fix wrong date in frontmatter config example (#602)
This commit is contained in:
1 parent
0b3022eb12
commit
5ec663bd60
1 file changed
+1
-1
@@ -358,7 +358,7 @@ The above will try first to extract the value for `.Lastmod` starting with the `
|
||||
|
||||
|
||||
`: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:
|
||||
|
||||
|
||||
Reference in new issue
Block a user