all: Fix some govet complaints

This commit is contained in:
Albert Nigmatzianov
2017-03-09 18:18:12 +05:00
committed by Bjørn Erik Pedersen
parent 560ed6e686
commit 48120ccfd2
9 changed files with 12 additions and 15 deletions

View File

@@ -302,7 +302,6 @@ func (h *HugoSites) createMissingPages() error {
var newPages Pages
for _, s := range h.Sites {
if s.isEnabled(KindHome) {
// home pages
home := s.findPagesByKind(KindHome)