mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-09 01:04:44 -04:00
Update GitInfo.md
This commit is contained in:
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].
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user