Remove the internal GitInfo type and make Page.GitInf() return a pointer

See #5693
This commit is contained in:
Bjørn Erik Pedersen
2025-07-07 13:03:57 +02:00
parent 61e6c730dd
commit 90d397b142
10 changed files with 16 additions and 62 deletions

View File

@@ -405,7 +405,7 @@ func (p *pageState) setMetaPostParams() error {
}
var gitAuthorDate time.Time
if !p.gitInfo.IsZero() {
if p.gitInfo != nil {
gitAuthorDate = p.gitInfo.AuthorDate
}