Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Gaikan Template Syntax Definition</title>
- </head>
- <body>
- <!-- Using an if-statement -->
- <ins data-if="somethingIsAwesome">
- <b>Both an if and a each can be reversed with a ! prefix (when not, and when empty).</b>
- </ins>
- <!-- Using an each-statement -->
- <ins data-each="valueObject">
- <!-- Using an escaped variable -->
- <div id="{{asd}}">
- <!-- Including another file, absolute location in view folder ... -->
- <ins data-include="FullNameOfView" />
- <!-- Using an unescaped variable -->
- {{{SomethinFromTheObject}}}
- </div>
- </ins>
- <ins data-each="something">
- <ins data-each="lil">
- <b>Hello {{world}}!</b>
- </ins>
- A value.
- <ins data-each="lal">
- <b>Wooh, even more cases!</b>
- </ins>
- </ins>
- </body>
- </html>
Add Comment
Please, Sign In to add comment