hugolib: Remove unused line - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit e73a35dea54f06c73a89a65c7283a1eb7f9bc608
DIR parent c9731b2c2a4ac68d9f895e7513c014744629e406
HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Sat, 8 Apr 2017 18:04:12 +0200
hugolib: Remove unused line
Diffstat:
M hugolib/page.go | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
DIR diff --git a/hugolib/page.go b/hugolib/page.go
@@ -1499,9 +1499,7 @@ func (p *Page) updatePageDates() {
// 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
}