mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user