Adding more tests.

This commit is contained in:
Tom Alexander
2020-05-09 15:49:49 -04:00
parent d93602d686
commit 9a0b28d80d
7 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1 @@
The block content is from {+inject/}

View File

@@ -0,0 +1,14 @@
{
"people": [
{
"name": "Alice",
"item": "cat"
},
{
"name": "Bob"
}
],
"pet": {
"name": "fluffy"
}
}

View File

@@ -0,0 +1,10 @@
{#pet}
{>"base"/}
{/pet}
{#people}
{<inject}by {name}{/inject}
{/people}
{#cake}
OMG CAKE
{<inject}with cake{/inject}
{/cake}