-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
I encountered a couple of unexpected behaviors in the :if
plugin.
:if foo
%p This
:else
%p That
would be a great feature. I understand if it's difficult to implement this in the current parsing logic.
Also :if foo
will yield an error if foo
is not defined on the object. You need to type something like :if typeof foo != 'undefined'
now which is kind of meh.
Thanks for a great template engine.
Metadata
Metadata
Assignees
Labels
No labels