mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Remove the internal GitInfo type and make Page.GitInf() return a pointer
See #5693
This commit is contained in:
@@ -178,8 +178,8 @@ func (p *nopPage) GetTerms(taxonomy string) Pages {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (p *nopPage) GitInfo() source.GitInfo {
|
||||
return source.GitInfo{}
|
||||
func (p *nopPage) GitInfo() *source.GitInfo {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (p *nopPage) CodeOwners() []string {
|
||||
|
Reference in New Issue
Block a user