Skip to content

Commit 9621c32

Browse files
committed
remove hugo generator tag
1 parent 02ac319 commit 9621c32

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

hugolib/site.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2343,11 +2343,11 @@ func (s *Site) renderAndWritePage(name string, dest string, d interface{}, layou
23432343
}
23442344

23452345
// For performance reasons we only inject the Hugo generator tag on the home page.
2346-
if n, ok := d.(*Node); ok && n.IsHome {
2347-
if !viper.GetBool("DisableHugoGeneratorInject") {
2348-
transformLinks = append(transformLinks, transform.HugoGeneratorInject)
2349-
}
2350-
}
2346+
// if n, ok := d.(*Node); ok && n.IsHome {
2347+
// if !viper.GetBool("DisableHugoGeneratorInject") {
2348+
// transformLinks = append(transformLinks, transform.HugoGeneratorInject)
2349+
// }
2350+
// }
23512351

23522352
var path []byte
23532353

0 commit comments

Comments
 (0)