mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Docs: document Node.IsHome
This commit is contained in:
committed by
Anthony Fok
parent
8509727fe8
commit
9ae07c4f21
@ -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>
|
||||
|
Reference in New Issue
Block a user