diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2013-05-04 11:14:35 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2013-05-04 11:14:35 +0200 |
commit | 28bc3f1f3b98f3bf4c8601af8eb8fa7a9c226ed2 (patch) | |
tree | e39e82490c3ad607025a5f757e0183b0b8f71d4d /tests | |
parent | 35e2db23399d7604f5440230165fb670a97f568b (diff) | |
parent | 7d489f314d553019c04905a912bc27448b4ec241 (diff) | |
download | hakyll-28bc3f1f3b98f3bf4c8601af8eb8fa7a9c226ed2.tar.gz |
Merge remote-tracking branch 'sphynx/master'
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/template.html | 13 | ||||
-rw-r--r-- | tests/data/template.html.out | 9 |
2 files changed, 20 insertions, 2 deletions
diff --git a/tests/data/template.html b/tests/data/template.html index 153303c..6f668ee 100644 --- a/tests/data/template.html +++ b/tests/data/template.html @@ -1,5 +1,16 @@ <div> I'm so rich I have $$3. - $echo test!$ + $echo test$ + $if(body)$ + I have body + $else$ + or no + $endif$ + $if(unbound)$ + should not be printed + $endif$ + $if(body)$ + should be printed + $endif$ $body$ </div> diff --git a/tests/data/template.html.out b/tests/data/template.html.out index 07b0851..5c201e2 100644 --- a/tests/data/template.html.out +++ b/tests/data/template.html.out @@ -1,5 +1,12 @@ <div> I'm so rich I have $3. - test! + test + + I have body + + + + should be printed + <p>This is an example.</p> </div> |