summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2014-10-27 12:20:31 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2014-10-27 12:20:31 +0100
commit59b6f01218eb2fbd36cb9fec6a3413093171ccda (patch)
treec2cdb693c03639bf02ef79c7336e911e4aa58d06 /tests/data
parent8bc18c7fd64fe5c0354c3ac9a4cd12bf3a46cb17 (diff)
downloadhakyll-59b6f01218eb2fbd36cb9fec6a3413093171ccda.tar.gz
Better functions in templates
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/template.html3
-rw-r--r--tests/data/template.html.out1
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/data/template.html b/tests/data/template.html
index 26f9e8a..55e76f6 100644
--- a/tests/data/template.html
+++ b/tests/data/template.html
@@ -1,7 +1,8 @@
<div>
I'm so rich I have $$3.
- $rev foo$
+ $rev("foo")$
+ $rev(rev("foo"))$
$if(body)$
I have body
diff --git a/tests/data/template.html.out b/tests/data/template.html.out
index 0b17d31..75ef4df 100644
--- a/tests/data/template.html.out
+++ b/tests/data/template.html.out
@@ -2,6 +2,7 @@
I'm so rich I have $3.
oof
+ foo
I have body