summaryrefslogtreecommitdiff
path: root/examples/bench/mako_inheritance/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bench/mako_inheritance/base.html')
-rw-r--r--examples/bench/mako_inheritance/base.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/bench/mako_inheritance/base.html b/examples/bench/mako_inheritance/base.html
new file mode 100644
index 0000000..618dde7
--- /dev/null
+++ b/examples/bench/mako_inheritance/base.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+ <head>
+ <title>${title}</title>
+ </head>
+ <body>
+
+<%component name="greeting(name)">
+ <p>hello ${name}!</p>
+</%component>
+
+ <%include file="header.html"/>
+
+ ${self.body()}
+
+ <%include file="footer.html"/>
+ </body>
+</html>