summaryrefslogtreecommitdiff
path: root/src/node/eejs/examples/foo.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/eejs/examples/foo.ejs')
-rw-r--r--src/node/eejs/examples/foo.ejs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/node/eejs/examples/foo.ejs b/src/node/eejs/examples/foo.ejs
new file mode 100644
index 00000000..daee5f8e
--- /dev/null
+++ b/src/node/eejs/examples/foo.ejs
@@ -0,0 +1,7 @@
+<% e.inherit("./bar.ejs"); %>
+
+<% e.begin_define_block("foo"); %>
+ YY
+ <% e.super(); %>
+ ZZ
+<% e.end_define_block(); %>