<%page args="active_page" /> <% def url_class(url): if url == active_page: return "active" return "" %>