Homepage renders with _default/list.html or then _default/single.html when index.html is not present.

This commit is contained in:
spf13 2014-05-13 17:07:50 -04:00
parent 025a37df2f
commit 4f75ec985d

View file

@ -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