<div id="locations">
    <div class="container">
        <div class="row">
        {% for location in variable('locations', 'locations') %}
            <div class="col-lg-4">
                <div class="location">

                    {{ location.image.cropped.fit(368, 242)|raw }}

                    <div class="name">{{ location.name }}</div>

                    <div class="address">
                        {{ location.location.address }}
                    </div>

                    {% if location.phone.value %}
                        <div class="phone">{{ location.phone.tel|raw }}</div>
                    {% endif %}

                    {% if location.hours.value %}
                        <div class="hours">{{ location.hours|raw }}</div>
                    {% endif %}

                    <a href="{{ location.location.directions }}" class="btn btn-danger btn-block" target="_blank">
                        Get Directions
                    </a>

                </div>
            </div>
        {% endfor %}
        </div>
    </div>
</div>
