mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Homepage renders with _default/list.html or then _default/single.html when index.html is not present.
This commit is contained in:
parent
025a37df2f
commit
4f75ec985d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue