{% for item in head_links %} {{item.content|safe}} {% endfor %}