diff --git a/templates/blog/post/_post.html.twig b/templates/blog/post/_post.html.twig index c356f6a..2cfa91c 100644 --- a/templates/blog/post/_post.html.twig +++ b/templates/blog/post/_post.html.twig @@ -4,7 +4,14 @@
{% if post.isQuick %}
- {% set image = post.quickImage %} + {% set image = null %} + + {% if post.quickImage %} + {% set image = post.quickImage %} + {% elseif post.image %} + {% set image = asset(post.image) %} + {% endif %} + {% set url = post.quickUrl %} {% set title = post.title %} {% set content = post.content %} @@ -15,7 +22,7 @@
- {% elseif post.quickImage %} + {% elseif image %}
{{ title }}