diff options
Diffstat (limited to 't')
-rw-r--r-- | t/mustache/partials/base.mustache | 4 | ||||
-rw-r--r-- | t/mustache/partials/user.mustache | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/t/mustache/partials/base.mustache b/t/mustache/partials/base.mustache new file mode 100644 index 0000000..e18ce2d --- /dev/null +++ b/t/mustache/partials/base.mustache @@ -0,0 +1,4 @@ +<h2>Names</h2> +{{#names}} +{{> user}} +{{/names}} diff --git a/t/mustache/partials/user.mustache b/t/mustache/partials/user.mustache new file mode 100644 index 0000000..a57be02 --- /dev/null +++ b/t/mustache/partials/user.mustache @@ -0,0 +1 @@ +<strong>{{name}}</strong> |