- the evil e

This commit is contained in:
Nico Schottelius 2020-02-10 16:15:34 +01:00
parent f90617b07c
commit 75f9537ea2

View file

@ -4,7 +4,7 @@
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
{% set image = post.attachments.images.first() %} {% set image = post.attachments.images.first() %}
<h2><a href="{{ post|url }}">{% if image %}<img src="{{ image.thumbnail(240)|url }}" alt=""/>{% else %}<div class="blog-post-placeholder"></div>{% endif %}</a></h2>e <h2><a href="{{ post|url }}">{% if image %}<img src="{{ image.thumbnail(240)|url }}" alt=""/>{% else %}<div class="blog-post-placeholder"></div>{% endif %}</a></h2>
</div> </div>
<div class="col-md-8"> <div class="col-md-8">
{% if from_index %}<a href="{{ post|url }}"><h2 class="post-title">{{ post.title }}</h2></a> {% if from_index %}<a href="{{ post|url }}"><h2 class="post-title">{{ post.title }}</h2></a>