diff --git a/pylons_app/templates/base/base.html b/pylons_app/templates/base/base.html --- a/pylons_app/templates/base/base.html +++ b/pylons_app/templates/base/base.html @@ -39,58 +39,66 @@ +### MAKO DEFS ### + <%def name="page_nav()"> ${self.menu()} - <%def name="menu(current)"> - - +<% +def is_current(selected): + if selected == current: + return 'class=current' +%> + %if current not in ['home','admin']: + + + %else: + + %endif <%def name="css()">