{% if page.get_ancestors|length > 2 %}
    {% for ancestor_page in page.get_ancestors %} {% if not ancestor_page.is_root %} {% if ancestor_page.depth > 2 %}
  1. {% include 'gds/link/link.html' with link=ancestor_page link_text=ancestor_page.title %}
  2. {% else %}
  3. {% include 'gds/link/link.html' with link="/" link_text=page.title %}
  4. {% endif %} {% endif %} {% endfor %}
  5. {{ page.title }}
{% endif %}