Revert "Make .IsHome work when homepage as 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 59c6ba4e454995ec0ac20b23cf41db9e187ce2fe
DIR parent 7e765cc1bd0ab06dbf05a467f3c648012265742b
HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Sun, 21 Jun 2015 15:00:53 +0200
Revert "Make .IsHome work when homepage as page"
This reverts commit 7e765cc1bd0ab06dbf05a467f3c648012265742b.
Diffstat:
M hugolib/site.go | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
DIR diff --git a/hugolib/site.go b/hugolib/site.go
@@ -1282,7 +1282,6 @@ func (s *Site) newHomePage() *Page {
}
p.Title = p.Site.Title
- p.IsHome = true
p.URL = helpers.URLizeAndPrep("/")
p.URLPath.Permalink = s.permalink(p.URL)
p.RSSLink = s.permalink("/" + ".xml")