mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
all: Fix some govet complaints
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
560ed6e686
commit
48120ccfd2
@@ -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)
|
||||
|
Reference in New Issue
Block a user