mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-19 05:04:57 -04: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:
parent
a068bcf5cb
commit
d3eb97a332
@ -72,6 +72,9 @@ See [`.Scratch`](/functions/scratch/) for page-scoped, writable variables.
|
||||
.IsPage
|
||||
: always `true` for regular content pages.
|
||||
|
||||
.IsSection
|
||||
: `true` if [`.Kind`](/templates/section-templates/#page-kinds) is `section`.
|
||||
|
||||
.IsTranslated
|
||||
: `true` if there are translations to display.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user