summaryrefslogtreecommitdiff
path: root/templates/page.mako
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/page.mako7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/page.mako b/templates/page.mako
index bc52c7f..77d24a2 100644
--- a/templates/page.mako
+++ b/templates/page.mako
@@ -2,13 +2,12 @@
## content
-<h1 class="title">${self.heading()}</h1>
+<h1 class="title">
+ <%block name="heading"></%block>
+</h1>
${next.body()}
## functions
-<%def name="heading()">
-</%def>
-
<%def name="left_arrow(target,label)">
<a id="left" href=${"/%s" % target | url}>
<img src=${"/static/images/arrow_left.png" | url} />