Skip to content
Browse files

Homepage renders with _default/list.html or then _default/single.html…

… when index.html is not present.
  • Loading branch information...
1 parent 025a37d commit 4f75ec985dd91eb4e2f5e8e58cad5ab8ecb15937 @spf13 committed May 13, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 hugolib/site.go
View
2 hugolib/site.go
@@ -703,7 +703,7 @@ func (s *Site) RenderHomePage() error {
n.Title = n.Site.Title
s.setUrls(n, "/")
n.Data["Pages"] = s.Pages
- layouts := []string{"index.html"}
+ layouts := []string{"index.html", "_default/list.html", "_default/single.html"}
err := s.render(n, "/", s.appendThemeTemplates(layouts)...)
if err != nil {
return err

0 comments on commit 4f75ec9

Please sign in to comment.
Something went wrong with that request. Please try again.