Skip to content

Instantly share code, notes, and snippets.

@jakub-g
Created October 18, 2013 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakub-g/7038593 to your computer and use it in GitHub Desktop.
Save jakub-g/7038593 to your computer and use it in GitHub Desktop.
modifiers
{
"name": "modifiers",
"description": "",
"data": {}
}
{macro main()}
<h1># ${ (true) && (true) }</h1>
<h1># ${ (true) && (false) }</h1>
<h1># ${ (5 + 12*12) % 100 }</h1>
<h1># ${ (5==5) ? "a" : "b"}</h1>
//template error: invalid modifier syntax
//<h1># ${ 8 | 16 }</h1>
//<h1># ${ (true) || (false) }</h1>
{/macro}
({
$classpath:'InstantTemplateScript'
})
@jakub-g
Copy link
Author

jakub-g commented Oct 18, 2013

Created by Instant Aria Templates, viewable on http://instant.ariatemplates.com/jakub-g/7038593

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment