tests/data/template.html
raw| 1 | <div> |
| 2 | I'm so rich I have $$3. |
| 3 | |
| 4 | $rev("foo")$ |
| 5 | $rev(rev("foo"))$ |
| 6 | |
| 7 | $if(body)$ |
| 8 | I have body |
| 9 | $else$ |
| 10 | or no |
| 11 | $endif$ |
| 12 | |
| 13 | $if(unbound)$ |
| 14 | should not be printed |
| 15 | $endif$ |
| 16 | |
| 17 | $if(body)$ |
| 18 | should be printed |
| 19 | $endif$ |
| 20 | |
| 21 | <ul> |
| 22 | $for(authors)$ |
| 23 | <li>$name$</li> |
| 24 | $endfor$ |
| 25 | </ul> |
| 26 | |
| 27 | $for(authors)$$name$$sep$, $endfor$ |
| 28 | |
| 29 | $body$ |
| 30 | </div> |