Revert "Make .IsHome work when homepage as page"
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 21 Jun 2015 13:00:53 +0000 (15:00 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 21 Jun 2015 13:00:53 +0000 (15:00 +0200)
This reverts commit 7e765cc1bd0ab06dbf05a467f3c648012265742b.

hugolib/site.go

index 63918f8513877c9f2da8defe411e30ab4ad480cc..7e869fdde2ed74b6f30181f827441b613f150ae4 100644 (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")