summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorNikolaos S. Papaspyrou <nickie@softlab.ntua.gr>2016-10-31 15:00:09 +0200
committerNikolaos S. Papaspyrou <nickie@softlab.ntua.gr>2016-10-31 15:04:42 +0200
commitf9f8603c323159510bc56e8d39d7cc0ae9ab3056 (patch)
treeb7e30afb99e7f53abdb684420e91d00779ad8635 /tests/data
parent3aa07ea334f14df19019947c2eef37b34bae2625 (diff)
downloadhakyll-f9f8603c323159510bc56e8d39d7cc0ae9ab3056.tar.gz
Add test
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/example.md.metadata2
-rw-r--r--tests/data/just-meta.html7
-rw-r--r--tests/data/just-meta.html.out7
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/data/example.md.metadata b/tests/data/example.md.metadata
index 5d463ae..57756c2 100644
--- a/tests/data/example.md.metadata
+++ b/tests/data/example.md.metadata
@@ -1,3 +1,5 @@
external: External data
date: 2012-10-22 14:35:24
subblog: food
+intfield: 42
+numfield: 3.14
diff --git a/tests/data/just-meta.html b/tests/data/just-meta.html
new file mode 100644
index 0000000..94a8e09
--- /dev/null
+++ b/tests/data/just-meta.html
@@ -0,0 +1,7 @@
+<pre>
+external: {$external$}
+date: {$date$}
+subblog: {$subblog$}
+intfield: {$intfield$}
+numfield: {$numfield$}
+</pre>
diff --git a/tests/data/just-meta.html.out b/tests/data/just-meta.html.out
new file mode 100644
index 0000000..4521f59
--- /dev/null
+++ b/tests/data/just-meta.html.out
@@ -0,0 +1,7 @@
+<pre>
+external: {External data}
+date: {2012-10-22 14:35:24}
+subblog: {food}
+intfield: {42}
+numfield: {3.14}
+</pre>