Docs: document Node.IsHome
authorCameron Moore <moorereason@gmail.com>
Tue, 8 Dec 2015 20:54:05 +0000 (14:54 -0600)
committerAnthony Fok <foka@debian.org>
Fri, 11 Dec 2015 16:18:05 +0000 (09:18 -0700)
docs/content/templates/variables.md

index 62c4ae359759871fd563ba0be85d01c7874d7411..5aae203bd2b5263f17c21c63b681a0efe55bf395 100644 (file)
@@ -89,6 +89,7 @@ includes taxonomies, lists and the homepage.
 **.RelRef(ref)** Returns the relative permalink for `ref`. See [cross-references]({{% ref "extras/crossreferences.md" %}}). Does not handle in-page fragments correctly.<br>
 **.RSSLink** Link to the taxonomies' RSS link.<br>
 **.Data** The data specific to this type of node.<br>
+**.IsHome** True if the node is the site home page.<br>
 **.IsNode** Always true for nodes.<br>
 **.IsPage** Always false for nodes.<br>
 **.Site** See [Site Variables]({{< relref "#site-variables" >}}) below.<br>