{% for link in data['links'] %} {% if (link['rel']=="self" and link['type']=="text/html") %} {% elif (link['rel']!="canonical") %} {% endif %} {% endfor %} {% block extrahead %} {% endblock %}