diff --git a/pages/index.mako b/pages/index.mako index 1d1c60e..e6503a1 100644 --- a/pages/index.mako +++ b/pages/index.mako @@ -1,4 +1,4 @@ -<%include file="/support/header.mako" args="title='Index Page'"/> +<%include file="/support/header.mako" args="environ=environ, title='Home'"/>
% for key, value in environ.items():

${key}: ${value}

diff --git a/pages/support/header.mako b/pages/support/header.mako index 04f4107..c27d970 100644 --- a/pages/support/header.mako +++ b/pages/support/header.mako @@ -1,10 +1,14 @@ -<%page args="title"/>\ +<%page args="environ, title"/>\ +<%! + from os import path +%>\ +<% root = path.dirname(environ["SCRIPT_NAME"]) %>\ ${title} - earwig@toolserver - +
\ No newline at end of file