diff --git a/src/php/views/page.twig b/src/php/views/page.twig
index 3149ab4..e773622 100644
--- a/src/php/views/page.twig
+++ b/src/php/views/page.twig
@@ -3,18 +3,21 @@
{% block content %}
{% if post.thumbnail %}
-
0 %}
- alt="{{ post.thumbnail.alt }}"
- {% endif %}
- />
+ {% set largest_image = post.thumbnail.src('large') %}
+
{% endif %}
{{ post.content }}
{# Loads comments.php by default #}
diff --git a/src/php/views/partials/content-single.twig b/src/php/views/partials/content-single.twig
index 63fb327..48dab99 100644
--- a/src/php/views/partials/content-single.twig
+++ b/src/php/views/partials/content-single.twig
@@ -5,6 +5,8 @@
class="post-preview__featured-image"
{% if post.thumbnail.alt and post.thumbnail.alt|length > 0 %}
alt="{{ post.thumbnail.alt }}"
+ {% else %}
+ alt=""
{% endif %}
/>
{% endif %}