Guest User

Untitled

a guest
Sep 24th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.81 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <title>Gaikan Template Syntax Definition</title>
  5.     </head>
  6.     <body>
  7.         <!-- Using an if-statement -->
  8.         <ins data-if="somethingIsAwesome">
  9.             <b>Both an if and a each can be reversed with a ! prefix (when not, and when empty).</b>
  10.         </ins>
  11.         <!-- Using an each-statement -->
  12.         <ins data-each="valueObject">
  13.             <!-- Using an escaped variable -->
  14.             <div id="{{asd}}">
  15.                 <!-- Including another file, absolute location in view folder ... -->
  16.                 <ins data-include="FullNameOfView" />
  17.                 <!-- Using an unescaped variable -->
  18.                 {{{SomethinFromTheObject}}}
  19.             </div>
  20.         </ins>
  21.         <ins data-each="something">
  22.             <ins data-each="lil">
  23.                 <b>Hello {{world}}!</b>
  24.             </ins>
  25.             A value.
  26.             <ins data-each="lal">
  27.                 <b>Wooh, even more cases!</b>
  28.             </ins>
  29.         </ins>
  30.     </body>
  31. </html>
Add Comment
Please, Sign In to add comment