% if title != '':
{{title}}
% end % for img in imgs: % if img[1] != '':
{{img[1]}}
% end
{{img[2]}}
% end