hugolib: Avoid repeated Viper loads of sectionPagesMenu
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 23 Nov 2016 21:06:15 +0000 (22:06 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 24 Nov 2016 09:54:15 +0000 (10:54 +0100)
commit1f6e0de36152f919609518f954fa0c55caad03f4
tree0137ec9e27f510ee599f24ed0b1b842d5bccd02a
parentdbb0c1cfc92fbea81a1bdf00f428600e9123d07a
hugolib: Avoid repeated Viper loads of sectionPagesMenu

See #2728
hugolib/page.go
hugolib/site.go