% if name is not UNDEFINED and name != None:

${name}

% endif
<%block name="js_extra">
    % for t in annotations:
  1. ${t[1]['content']}
  2. % endfor