{% for content in collection %}
<div class="visa-block-two">
<div class="inner-box">
<div class="static-content">
<div class="content-box">
<div class="icon-box">
<img src="{{ asset('themes/castine/assets/images/icons/icon-5.png') }}" alt="{{ content.title }}">
</div>
<h3><a href="{{ path(content.getRouteName()) }}">{{ content.title }}</a></h3>
<p>{{ content.summary|u.truncate(170) }}</p>
<div class="link-box">
<a href="{{ path(content.getRouteName()) }}">Read More</a>
</div>
</div>
<figure class="image-box">
<img src="{{ content.thumbnail|imagine_filter('thumbnail_large') }}" alt="{{ content.title }}">
</figure>
</div>
<div class="overlay-content">
<div class="content-box">
<div class="icon-box"><img src="{{ asset('themes/castine/assets/images/icons/icon-5.png') }}" alt="{{ content.title }}"></div>
<h3><a href="{{ path(content.getRouteName()) }}">{{ content.title }}</a></h3>
<div class="link-box">
<a href="{{ path(content.getRouteName()) }}">Read More</a>
</div>
</div>
<figure class="image-box">
<img src="{{ content.thumbnail|imagine_filter('thumbnail_large') }}" alt="{{ content.title }}">
</figure>
</div>
</div>
</div>
{% endfor %}