shithub: hugo

Download patch

ref: e73a35dea54f06c73a89a65c7283a1eb7f9bc608
parent: c9731b2c2a4ac68d9f895e7513c014744629e406
author: Bjørn Erik Pedersen <[email protected]>
date: Sat Apr 8 14:04:12 EDT 2017

hugolib: Remove unused line

--- a/hugolib/page.go
+++ b/hugolib/page.go
@@ -1499,9 +1499,7 @@
 // so they will be evaluated again, for word count calculations etc.
 func (p *Page) copy() *Page {
 	c := *p
-	c.pageInit = &pageInit{
-	//pageMenusInit: p.pageMenusInit,
-	}
+	c.pageInit = &pageInit{}
 	return &c
 }