This project has moved and is read-only. For the latest updates, please go here.

Handlebars templates

Handlebars templates are initially a javascript template system http://handlebarsjs.com/
It's ported to c# as a server side template system https://github.com/rexm/Handlebars.Net

It's include a very easy and simple template syntax.

Standard helpers :
{{#if var}} {{else}} {/if}}
{{#each list}} {/each}}
.....

Open content include some specific helpers :
{{multiply number1 number1}}
{{devide number1 number1}}
{{#equal var1 var1}} {{else}} {{/equal}

{{#script}} ... {{/script}}

{{registerscript js_filename}}
{{registerstylesheet css_filename}}



Last edited May 8, 2015 at 11:47 PM by sachatrauwaen, version 5