jehugaleahsa / mustache-sharp

An extension of the mustache text template engine for .NET.
The Unlicense
306 stars 78 forks source link

Different syntax of "else" #47

Closed joseph1125 closed 5 years ago

joseph1125 commented 9 years ago

In handlebars.js, else is implemented as "{{else}}" while in mustache-sharp is implemented as "{{#else}}", any workaround of this issue?

Moreover, in the meanwhile, I'm trying to fix this problem by using "#unless" and found that it is not supported, any possible workaround?

nickytonline commented 9 years ago

@joseph1125, I've implemented the unless tag as well as support for the handlebars.js if/else syntax in mosharp.

Later, Nick