Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Support :if, :else statements #66

betamos opened this Issue · 1 comment

2 participants


I encountered a couple of unexpected behaviors in the :if plugin.

:if foo
  %p This
  %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.


+1 came here to say this.

Thanks also for a great template engine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.