{# The heading of the Search, Map and Ask pages, from the page's address. #} {% set head_part = request.path.split("/")[2] if request.path.count("/") > 1 else "" %}

{% if request.path.startswith("/explore/map") %}Map{% elif request.path.startswith("/develop") or head_part in ["ask", "notes"] %}Ask{% else %}Search{% endif %}