diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-08 18:04:12 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-08 18:04:12 +0200 |
commit | e73a35dea54f06c73a89a65c7283a1eb7f9bc608 (patch) | |
tree | e956242060cd8fa29b6f9d77da41cf1b29894ea2 /hugolib | |
parent | c9731b2c2a4ac68d9f895e7513c014744629e406 (diff) |
hugolib: Remove unused line
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/page.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hugolib/page.go b/hugolib/page.go index 677343f1f..c63d416a8 100644 --- 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 } |