From be7f5a4268e83b28461c92d8790f4bdde81b75f7 Mon Sep 17 00:00:00 2001 From: bep Date: Thu, 21 May 2015 20:12:25 +0200 Subject: [PATCH] Do not consider single.html for the home page Fixes #1152 --- hugolib/site.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2