Open c5racing opened 8 years ago
If there isn't a lot of text in a branch, duplicate the text in an #elseif. Else, create a IsMale property and use that. That's the best you can do right now.
On Sep 27, 2016 3:01 PM, "c5racing" notifications@github.com wrote:
Is there any capability to do an If... Or... such as:
Hello {{#if {{Man}} || {{Boy}}Mr.{{#else}}Mrs.{{/if}} Smith!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jehugaleahsa/mustache-sharp/issues/69, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTgPuGevdAzlw8P_qY_uvE_SmK7vo0dks5quWgEgaJpZM4KICOB .
That's what I assumed. i have substantial duplicated text The IsMan and IsBoy was just an example so the IsMale suggestion won't work in my case.
Thanks!
Is there any capability to do an If... Or... such as:
Hello {{#if {{Man}} || {{Boy}}Mr.{{#else}}Mrs.{{/if}} Smith!