%def name="navigation(active=None)"> <% def klass(what): if what == active: return 'active' return '' %>