summaryrefslogtreecommitdiff
path: root/templates/page.mako
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2012-01-10 22:54:23 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2012-01-10 22:54:23 +0100
commita623647d714495439523c124e7efe517d6c15314 (patch)
treec2ed83240e12883944ba6c7f97736d9ef8db6c19 /templates/page.mako
parent8de68a6a0d027a86205cab0c078230e9391496d5 (diff)
downloadkosten-a623647d714495439523c124e7efe517d6c15314.tar.gz
kosten-a623647d714495439523c124e7efe517d6c15314.tar.bz2
kosten-a623647d714495439523c124e7efe517d6c15314.zip
Switch to mako blocks
Diffstat (limited to 'templates/page.mako')
-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} />