% for content in headings:
${content}
% endfor
% for row in rows:
% for cell in row:
${cell.get('content', '')}
% endfor
% endfor