diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2013-05-06 23:32:25 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2013-05-06 23:32:25 +0200 |
commit | cf138a415b0fbfa5153deec693f1310547f359b2 (patch) | |
tree | 106de43225a4ac3ea4c3b71b7dbf8d99fdd5b2c7 /tests/data/template.html | |
parent | 738fd3d1ad36c7d799d2f47ed31022bfd86b88f4 (diff) | |
download | hakyll-cf138a415b0fbfa5153deec693f1310547f359b2.tar.gz |
Implement foreach structure
Diffstat (limited to 'tests/data/template.html')
-rw-r--r-- | tests/data/template.html | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/data/template.html b/tests/data/template.html index 6f668ee..22e5ddd 100644 --- a/tests/data/template.html +++ b/tests/data/template.html @@ -1,16 +1,27 @@ <div> I'm so rich I have $$3. - $echo test$ + $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> |