mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 10:18:40 +00:00
Document .IsSection page variable
* Document .IsSection page variable Closes #760 * Describe what it is rather than what it is not
This commit is contained in:
1 parent
a068bcf5cb
commit
d3eb97a332
1 file changed
+3
@@ -72,6 +72,9 @@ See [`.Scratch`](/functions/scratch/) for page-scoped, writable variables.
|
|||||||
.IsPage
|
.IsPage
|
||||||
: always `true` for regular content pages.
|
: always `true` for regular content pages.
|
||||||
|
|
||||||
|
.IsSection
|
||||||
|
: `true` if [`.Kind`](/templates/section-templates/#page-kinds) is `section`.
|
||||||
|
|
||||||
.IsTranslated
|
.IsTranslated
|
||||||
: `true` if there are translations to display.
|
: `true` if there are translations to display.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user