aboutsummaryrefslogtreecommitdiff
path: root/lib/mstch/test/data/partial_template.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mstch/test/data/partial_template.hpp')
-rw-r--r--lib/mstch/test/data/partial_template.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mstch/test/data/partial_template.hpp b/lib/mstch/test/data/partial_template.hpp
new file mode 100644
index 0000000..88c659b
--- /dev/null
+++ b/lib/mstch/test/data/partial_template.hpp
@@ -0,0 +1,4 @@
+const mstch::node partial_template_data = mstch::map{
+ {"title", mstch::lambda{[]()->mstch::node{ return std::string{"Welcome"}; }}},
+ {"again", mstch::lambda{[]()->mstch::node{ return std::string{"Goodbye"}; }}},
+}; \ No newline at end of file