mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Misc doc, code refactoring to improve documentation
This commit is contained in:
@@ -404,7 +404,7 @@ func (pm *pageMeta) setMetadata(parentBucket *pagesMapBucket, p *pageState, fron
|
||||
}
|
||||
|
||||
var gitAuthorDate time.Time
|
||||
if p.gitInfo != nil {
|
||||
if !p.gitInfo.IsZero() {
|
||||
gitAuthorDate = p.gitInfo.AuthorDate
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user