%! def inherit(context): if context.get('chrome'): return 'master.html' return None %> <%inherit file="${inherit(context)}"/> <%namespace name="tables" file="tables.html"/> % if chrome: