mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 14:16:06 +00:00
hugolib: Remove unused line
This commit is contained in:
1 parent
c9731b2c2a
commit
e73a35dea5
1 file changed
+1
-3
+1
-3
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user