I want to use a boolean operator in my jade template to activate the menu. for that my syntax is like
li(class={ active: "blogs" or "post" == type })
a(href='blog.html')
| Blog
I am using harpjs to compile jade in to html templates, when I compiles the template it gives me error like,
"name": "SyntaxError",
"message": "Unexpected identifier",
How to add boolean conditions correctly in jade?