Add IsHome
authorbep <bjorn.erik.pedersen@gmail.com>
Thu, 28 May 2015 01:19:59 +0000 (03:19 +0200)
committerbep <bjorn.erik.pedersen@gmail.com>
Thu, 28 May 2015 01:20:08 +0000 (03:20 +0200)
commitbe535832f7f4889351df84bad5059bae4db5a95d
tree29760702a4ed887e337844ea534614d48719d047
parentbe6dfcc4959eac443f92ff51e5ed0fae4c542023
Add IsHome

To determine if a page is the "Home Page" has inspired lots of creativity in the template department.

This commit makes it simpler: IsHome will tell the truth.
hugolib/node.go
hugolib/page_test.go
hugolib/site.go
hugolib/site_test.go