mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 10:18:40 +00:00
Update git.md
This commit is contained in:
1 parent
d881d14339
commit
069828db89
1 file changed
+1
-1
@@ -53,6 +53,6 @@ The `GitInfo` object contains the following fields:
|
|||||||
|
|
||||||
## `.Lastmod`
|
## `.Lastmod`
|
||||||
|
|
||||||
If the `.GitInfo` feature is enabled, **and** if the `lastmod` field in the content's front matter is not set, `.Lastmod` (on `Page`) is fetched from Git i.e. `.GitInfo.AuthorDate`.
|
If the `.GitInfo` feature is enabled, `.Lastmod` (on `Page`) is fetched from Git i.e. `.GitInfo.AuthorDate`. This behaviour can be changed by adding your own [front matter configuration for dates](/getting-started/configuration/#configure-front-matter).
|
||||||
|
|
||||||
[configuration]: /getting-started/configuration/
|
[configuration]: /getting-started/configuration/
|
||||||
Reference in new issue
Block a user