shithub: hugo

Download patch

ref: 59c6ba4e454995ec0ac20b23cf41db9e187ce2fe
parent: 7e765cc1bd0ab06dbf05a467f3c648012265742b
author: Bjørn Erik Pedersen <[email protected]>
date: Sun Jun 21 11:00:53 EDT 2015

Revert "Make .IsHome work when homepage as page"

This reverts commit 7e765cc1bd0ab06dbf05a467f3c648012265742b.

--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -1282,7 +1282,6 @@
 	}
 
 	p.Title = p.Site.Title
-	p.IsHome = true
 	p.URL = helpers.URLizeAndPrep("/")
 	p.URLPath.Permalink = s.permalink(p.URL)
 	p.RSSLink = s.permalink("/" + ".xml")