summaryrefslogtreecommitdiff
path: root/tests/data/template.html
blob: 55e76f65d9459967265eb9485aa0ee6cd384cc10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<div>
    I'm so rich I have $$3.

    $rev("foo")$
    $rev(rev("foo"))$

    $if(body)$
    I have body
    $else$
    or no
    $endif$

    $if(unbound)$
    should not be printed
    $endif$

    $if(body)$
    should be printed
    $endif$

    <ul>
    $for(authors)$
        <li>$name$</li>
    $endfor$
    </ul>

    $for(authors)$$name$$sep$, $endfor$

    $body$
</div>