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.html24
1 files changed, 24 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..84b2930
--- /dev/null
+++ b/examples/bench/mako_inheritance/base.html
@@ -0,0 +1,24 @@
+<!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>
+
+<%def name="greeting(name)">
+ <p>hello ${name}!</p>
+</%def>
+
+<div id="header">
+ <h1>${title}</h1>
+</div>
+
+ ${self.body()}
+
+ <div id="footer">
+ </div>
+
+ </body>
+</html>