mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-19 22:15:05 +00:00
Merge branch 'tempv0.129.0'
This commit is contained in:
1 file changed
+10
@@ -113,6 +113,16 @@ This is configurable. See [details].
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
###### Body
|
||||||
|
|
||||||
|
(`string`) The commit message body.
|
||||||
|
|
||||||
|
```go-html-template
|
||||||
|
{{ with .GitInfo }}
|
||||||
|
{{ .Body }} → - Two new pages added.
|
||||||
|
{{ end }}
|
||||||
|
```
|
||||||
|
|
||||||
## Last modified date
|
## Last modified date
|
||||||
|
|
||||||
By default, when `enableGitInfo` is `true`, the `Lastmod` method on a `Page` object returns the Git AuthorDate of the last commit that included the file.
|
By default, when `enableGitInfo` is `true`, the `Lastmod` method on a `Page` object returns the Git AuthorDate of the last commit that included the file.
|
||||||
|
|||||||
Reference in new issue
Block a user