From 7e765cc1bd0ab06dbf05a467f3c648012265742b Mon Sep 17 00:00:00 2001 From: spf13 Date: Fri, 19 Jun 2015 10:07:47 -0400 Subject: [PATCH] Make .IsHome work when homepage as page --- hugolib/site.go | 1 + 1 file changed, 1 insertion(+) diff --git a/hugolib/site.go b/hugolib/site.go index 7e869fdde..63918f851 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1282,6 +1282,7 @@ 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")