From f11fff031cbd632b50951bc9df04efa827cd59f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Wed, 7 Apr 2010 00:24:51 +0200 Subject: Add highlighting support --- templates/root.mako | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'templates') diff --git a/templates/root.mako b/templates/root.mako index c7c7497..c20704d 100644 --- a/templates/root.mako +++ b/templates/root.mako @@ -36,12 +36,19 @@ +<%namespace name="_hl" module="highlighting"/> + +<%def name="hl(lang)"> +
${_hl.highlight(capture(caller.body), lang)}
+ + <%def name="title()"> Portato <%def name="style()"> + ${_hl.get_css()} <%def name="footer()"> -- cgit v1.2.3