mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 15:58:53 +00:00
Update GitInfo.md
This commit is contained in:
committed by
GitHub
parent
3484414916
commit
71aa7d8abf
@@ -61,6 +61,15 @@ AuthorDate
|
||||
{{ end }}
|
||||
```
|
||||
|
||||
CommitDate
|
||||
: (`time.Time`) The commit date.
|
||||
|
||||
```go-html-template
|
||||
{{ with .GitInfo }}
|
||||
{{ .CommitDate.Format "2006-01-02" }} → 2023-10-09
|
||||
{{ end }}
|
||||
```
|
||||
|
||||
AuthorEmail
|
||||
: (`string`) The author's email address, respecting [gitmailmap].
|
||||
|
||||
|
||||
Reference in New Issue
Block a user