projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be2842d
)
Do not consider single.html for the home page
author
bep
<bjorn.erik.pedersen@gmail.com>
Thu, 21 May 2015 18:12:25 +0000
(20:12 +0200)
committer
bep
<bjorn.erik.pedersen@gmail.com>
Thu, 21 May 2015 18:12:18 +0000
(20:12 +0200)
Fixes #1152
hugolib/site.go
patch
|
blob
|
history
diff --git
a/hugolib/site.go
b/hugolib/site.go
index 9b63e569b86d894c6832195ec43e1e4c4793b0fa..82cdc2aceea5b2f5899e64575d63f36e7f0ee988 100644
(file)
--- 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