{% load helpers %} {% if location is not None %} {% with site=location.base_site ancestors=location.ancestors %}