Checks if the given collection is not empty.
Syntax:
{{#isNotEmpty COLLECTION}}
If COLLECTION is not empty
{{else}}
If COLLECTION is empty
{{/isNotEmpty}}
Example:
{{#isNotEmpty tags}}
Tags list output
{{/isNotEmpty}}
Updated on August 5, 2017
Checks if the given collection is not empty.
Syntax:
{{#isNotEmpty COLLECTION}}
If COLLECTION is not empty
{{else}}
If COLLECTION is empty
{{/isNotEmpty}}
Example:
{{#isNotEmpty tags}}
Tags list output
{{/isNotEmpty}}
Get the latest Publii news, updates and more delivered directly to your email inbox
This website uses cookies to ensure you get the best experience on our site, to provide social media and comment features. To analyze our traffic, we use basic Google Analytics implementation with anonymized data. If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the Publii website. To understand more about how we use cookies, or for information on how to change your cookie settings, please see our Privacy Policy.
Cookie Policy