{{title}} - on app {{__name}}
{{#yell}}Hello{{/yell}}
Resize test
Partials test:-
{{> dep-1/templates/partial }}
Symlinked Partials test:-
{{> linked-dep-1/templates/partial }}
Dates test:-
- Full date: {{#dateformat "dddd, d mmmm, yyyy"}}{{date}}{{/dateformat}}
- Custom date: {{#dateformat "dd/mm/yy"}}{{date}}{{/dateformat}}
- ISO date: {{#dateformat}}{{date}}{{/dateformat}}
Start Paragraphs{{{paragraphs text start=1 end=2}}}End Paragraphs
{{#defineBlock 'block2'}}{{block2override}}{{/defineBlock}}
{{>inheritanceTest}}
{{#removeImageTags}}
Image
EndImage
{{/removeImageTags}}
{{#flags.undefinedFlag.isSwitchedOn}}
Should not appear
{{/flags.undefinedFlag.isSwitchedOn}}
{{#flags.undefinedFlag.isSwitchedOff}}
Should appear
{{/flags.undefinedFlag.isSwitchedOff}}
ifEquals:{{#ifEquals thing1 "thing1"}}first{{else}}not first{{/ifEquals}} {{#ifEquals thing1 "thing2"}}second{{else}}not second{{/ifEquals}}
ifAll:{{#ifAll thing1 thing2 thing3}}first{{else}}not first{{/ifAll}} {{#ifAll thing1 thing2 nothing}}second{{else}}not second{{/ifAll}}
ifSome:{{#ifSome thing1 nothing}}first{{else}}not first{{/ifSome}} {{#ifSome nothing stillNothing}}second{{else}}not second{{/ifSome}}
slice:{{#slice items limit="2" offset="2"}}{{this}}{{/slice}}:end
{{encode "http://domain.com?q=this / that" mode='uri'}} {{encode "http://domain.com?q=this / that"}}
{{#resize 200}}http://image.jpg{{/resize}}
{{#partial}}
{{usePartial 'dynamic-partial/test'}}
{{/partial}}