From: bep Date: Thu, 21 May 2015 18:12:25 +0000 (+0200) Subject: Do not consider single.html for the home page X-Git-Tag: v0.14~25 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=be7f5a42;p=brevno-suite%2Fhugo Do not consider single.html for the home page Fixes #1152 --- diff --git a/hugolib/site.go b/hugolib/site.go index 9b63e569..82cdc2ac 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1241,7 +1241,7 @@ func (s *Site) newHomeNode() *Node { func (s *Site) RenderHomePage() error { n := s.newHomeNode() - layouts := s.appendThemeTemplates([]string{"index.html", "_default/list.html", "_default/single.html"}) + layouts := s.appendThemeTemplates([]string{"index.html", "_default/list.html"}) if err := s.renderAndWritePage("homepage", helpers.FilePathSeparator, n, layouts...); err != nil { return err