mirror of
https://github.com/gohugoio/hugo.git
synced 2025-01-31 02:21:33 +00:00
Docs: document Node.IsHome
This commit is contained in:
parent
8509727fe8
commit
9ae07c4f21
1 changed files with 1 additions and 0 deletions
|
@ -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>
|
**.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>
|
**.RSSLink** Link to the taxonomies' RSS link.<br>
|
||||||
**.Data** The data specific to this type of node.<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>
|
**.IsNode** Always true for nodes.<br>
|
||||||
**.IsPage** Always false for nodes.<br>
|
**.IsPage** Always false for nodes.<br>
|
||||||
**.Site** See [Site Variables]({{< relref "#site-variables" >}}) below.<br>
|
**.Site** See [Site Variables]({{< relref "#site-variables" >}}) below.<br>
|
||||||
|
|
Loading…
Reference in a new issue