{% for post in posts %}
<div class="frontpage-project">
	<div class="overlay bg-gradient-9"></div>
	<img src="{% if is_desktop %}{{post.thumbnail|resize(350,300)}}{% else %}{{post.thumbnail|resize(510,440)}}{% endif %}" alt="{{post.title}}">
	<a href="{{post.link}}" class="d-block caption">
	<div class="pl-3 pr-3 pb-1 d-flex h-100 align-items-end">
		<div>
			<h3 class="text-left font-weight-bold">{{ post.title|truncate(7) }}</h3>
			{#<p class="text-uppercase">{{post.post_date|date('j F ')}} / {% for term in post.terms %}{% if loop.index == 1 %}{{term.name}}{% endif %}{% endfor %}</p>#}
		</div>
	</div>
	</a>
</div>
{% endfor %}
