diff options
Diffstat (limited to 'tests/data/simple/templates')
-rw-r--r-- | tests/data/simple/templates/collection_template.txt | 4 | ||||
-rw-r--r-- | tests/data/simple/templates/trivial_template.txt | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/data/simple/templates/collection_template.txt b/tests/data/simple/templates/collection_template.txt new file mode 100644 index 0000000..8873e1e --- /dev/null +++ b/tests/data/simple/templates/collection_template.txt @@ -0,0 +1,4 @@ +{% for entry in entries %} +{{ entry.short_id }}: {{ entry.data.name }} + {{ entry.data.description }} +{% endfor %} diff --git a/tests/data/simple/templates/trivial_template.txt b/tests/data/simple/templates/trivial_template.txt new file mode 100644 index 0000000..df31f0c --- /dev/null +++ b/tests/data/simple/templates/trivial_template.txt @@ -0,0 +1 @@ +{{ entry }} |