diff --git a/pages/support/header.mako b/pages/support/header.mako index 67775a1..4057977 100644 --- a/pages/support/header.mako +++ b/pages/support/header.mako @@ -1,16 +1,10 @@ -<%page args="environ, cookies, title, slug=None, add_css=(), add_js=()"/>\ +<%page args="environ, cookies, title"/>\ <%namespace module="copyvios.background" import="set_background"/>\ <%! from os import path %>\ <% root = path.dirname(environ["SCRIPT_NAME"]) - this = environ["PATH_INFO"] - pretty = path.split(root)[0] - if not slug: - slug = path.split(this)[1] - if slug.endswith(".py"): - slug = slug[:-3] %>\ @@ -28,7 +22,7 @@ % endif