adjust the css if we are using vendor summaries
[ryf-theme.git] / templates / search-result.html.twig
index 31ae471..69e99ea 100644 (file)
@@ -65,7 +65,9 @@
 {{ title_suffix }}
 {% if node.field_image.0 %}
   <div class="search-image">
-    <img src="{{ node.field_image.0.entity.uri.value | image_style('thumbnail') }}">
+    <a href="{{ url }}">
+      <img src="{{ node.field_image.0.entity.uri.value | image_style('thumbnail') }}">
+    </a>
   </div>
 {% endif %}
 {% if snippet %}