diff --git a/content/collections/tags/children.md b/content/collections/tags/children.md index 04bf66911..0542784c7 100644 --- a/content/collections/tags/children.md +++ b/content/collections/tags/children.md @@ -33,3 +33,17 @@ You can get the parent by using the [Parent tag](/tags/parent). ``` :: + +## Checking for children on the current page + +Since `children` is an Antlers tag, you need to enclose `children` in curly brackets to access the page's `children` variable. + +``` +{{ if {children} }} +