Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Conditionals? #3

Open
somwicked opened this issue Jan 27, 2015 · 1 comment
Open

Conditionals? #3

somwicked opened this issue Jan 27, 2015 · 1 comment

Comments

@somwicked
Copy link

Trying to use a simple conditional to verify if a global has a value

{{ if globals:field }} ... {{ /if }}

and it seems to break .. nothing is output.

@jasonvarga
Copy link
Member

Since this is a plugin tag, you need to wrap it in braces.

{{ if {globals:field} }} ... {{ /if }}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants