From 7a1b095b3e01cd9f9270986780b62ae767215874 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 26 Aug 2013 00:05:35 -0400 Subject: [PATCH] Fix some links. --- pages/support/header.mako | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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