diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2012-01-10 22:54:23 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2012-01-10 22:54:23 +0100 |
commit | a623647d714495439523c124e7efe517d6c15314 (patch) | |
tree | c2ed83240e12883944ba6c7f97736d9ef8db6c19 /templates/page.mako | |
parent | 8de68a6a0d027a86205cab0c078230e9391496d5 (diff) | |
download | kosten-a623647d714495439523c124e7efe517d6c15314.tar.gz kosten-a623647d714495439523c124e7efe517d6c15314.tar.bz2 kosten-a623647d714495439523c124e7efe517d6c15314.zip |
Switch to mako blocks
Diffstat (limited to '')
-rw-r--r-- | templates/page.mako | 7 |
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} /> |