Revert "Make .IsHome work when homepage as page"

This reverts commit 7e765cc1bd.
This commit is contained in:
Bjørn Erik Pedersen 2015-06-21 15:00:53 +02:00
parent 7e765cc1bd
commit 59c6ba4e45

View file

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