%inherit file="base.html"/>
% for stage in context['data'].items():
% if 'substages' in stage[1].keys():
% for substage in stage[1]['substages'].items():
% if (stage[0] == context['renderstage']) and (substage[0] == context['rendersubstage']):
- ${substage[0]}
% else:
- ${substage[0]}
% endif
% endfor
% endif
% endfor
${next.body()}