Do not consider single.html for the home page - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit be7f5a4268e83b28461c92d8790f4bdde81b75f7
DIR parent be2842da18ebe3ec1a28a336ae4c48d889d302d1
HTML Author: bep <bjorn.erik.pedersen@gmail.com>
Date: Thu, 21 May 2015 20:12:25 +0200
Do not consider single.html for the home page
Fixes #1152
Diffstat:
M hugolib/site.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git 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