{% extends 'base.html.twig' %} {% set location_name = location.abbrName|default(location.displayName|default(location.name)) %} {% set block_primary = block_get('primary', 'location', location=location) %} {% if block_primary and block_primary.active and block_primary.content %} {% set has_primary_content = true %} {% else %} {% set has_primary_content = false %} {% endif %} {% block title %}{% apply spaceless %} {% if custom_title %} {{ custom_title }} {% else %} Best colleges in {{ location_name }} - Universities.com {% endif %} {% endapply %}{% endblock %} {% block meta_description %}Compare rankings of the best universities and community colleges in {{ location_name }} as well as a list of all schools in {{ location_name }}.{% endblock %} {% block stylesheets %} {{ parent() }} {{ encore_entry_link_tags('find-best') }} {% endblock %} {% block scripts %} {{ parent() }} {{ encore_entry_script_tags('find-best') }} {% endblock %} {% block body %}

Best colleges in {{ location_name }}

{{ include('widget/byline.html.twig', { action: path('app_find_location_update_byline', {id: findLocation.id }), page: findLocation }) }} {{ include('widget/block/simple.html.twig', { name: 'primary', type: 'location', location: location }, with_context=false) }}
{% if show_xyz() and is_mobile() %}
{% include 'widget/xyz.html.twig' with {'xyz_id': 'xyzabovebest', 'wide': 1} %}
{% endif %} {% if best_universities %}

Best Four Year Universities in {{ location_name }}

{% for s in best_universities %} {{ include('widget/school/listing.html.twig', { school: s, rank: loop.index }, with_context=false) }} {% if loop.index == 2 or loop.length < 2 and loop.length == loop.index %} {% include 'widget/xyz.html.twig' with {'xyz_id': 'xyzafter2ndinfindidx', 'wide': 1} %} {% endif %} {% if is_mobile() %} {% if loop.index == 10 or loop.length < 10 and loop.length > 4 and loop.length == loop.index %} {% include 'widget/xyz.html.twig' with {'xyz_id': 'xyzafter10thinfindidx', 'wide': 1} %} {% endif %} {% endif %} {% endfor %}
{% endif %} {% if best_colleges %}

Best Community Colleges in {{ location_name }}

{% for s in best_colleges %} {{ include('widget/school/listing.html.twig', { school: s, rank: loop.index }, with_context=false) }} {% endfor %}
{% endif %} {% if location_children %}

Find local colleges in {{ location_name }}

{% for child in location_children %} {% endfor %}
{% endif %} {% if programs %}

Top schools offering specific degrees in {{ location_name }}

{% for parent_id, parent in programs %}
{{ parent.name }} Schools
{% endfor %}
{% endif %} {{ include('widget/block/section.html.twig', { name: 'qa_content', type: 'location', h3: "Questions About Going to College in " ~ location_name, location: location }, with_context=false) }} {% if schools %} {% include 'find/widget/schools.html.twig' %} {% endif %} {% if is_mobile() %}
{% include 'widget/xyz.html.twig' with {'xyz_id': 'xyzbeforefootinfindidx', 'wide': 1} %}
{% endif %}
{% endblock %}