Last active
May 6, 2018 13:53
-
-
Save sirius2k/3cef0b879520adb2029fbb412b7c79c6 to your computer and use it in GitHub Desktop.
mustache if/else example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boolean kiss = true; | |
boolean hug = true; | |
boolean slap = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{#kiss}} | |
Kiss ... | |
{{/kiss}} | |
{{#hug}} | |
Hug ... | |
{{/hug}} | |
{{#slap}} | |
Hic Hic ... | |
{{/slap}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kiss ... | |
Hug ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment