Skip to content

Commit 99d4ea3

Browse files
authored
Update Handlebars.md
1 parent 22ecfbe commit 99d4ea3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Cheat Sheets/Scripting Examples/Javascript Examples/Handlebars.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
somekey does exist!
1414
{{/if}}
1515

16+
Also with else
17+
18+
{{#if somekey}}
19+
somekey does exist!
20+
{{else}}
21+
no it does not
22+
{{/if}}
23+
1624
## Comments
1725

1826
Choose one of the two comment variants depending on wether your comment includes the literal " }}" or "--}}":

0 commit comments

Comments
 (0)