{% for key, (value, ((previous_link, previous_label), (next_link, next_label))) in job_nav %} {% endfor %}