if conditionals in pandoc templates depending on value of a variable

Viewed 2075

In pandoc, you can see if you have a variable or not ($if(something)$ put $something$ $endif$), but I want to act depending on its value. Something like:

$if(lang)=='en'$ Hello $else$ Aloha $endif$

Is it possible? In Pandoc Manual I don't see nothing

1 Answers
Related