From 81120e3f5770410b6314bef20be6b2416b958c3c Mon Sep 17 00:00:00 2001 From: "pmoreno.rodriguez" <60596353+pmoreno-rodriguez@users.noreply.github.com> Date: Sun, 5 Feb 2023 21:55:52 +0100 Subject: [PATCH] Fixed bug with search results on pages with tables. --- templates/partials/simplesearch_item.html.twig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 templates/partials/simplesearch_item.html.twig diff --git a/templates/partials/simplesearch_item.html.twig b/templates/partials/simplesearch_item.html.twig old mode 100644 new mode 100755 index 67de9ba..a416e30 --- a/templates/partials/simplesearch_item.html.twig +++ b/templates/partials/simplesearch_item.html.twig @@ -4,9 +4,9 @@ {% set thumb = page.media[page.header.primaryImage] ?: page.media.images|first %} {% if thumb %} -
- {{ thumb.cropZoom(100,100).loading('lazy').html(title,title)|raw }} -
+
+ {{ thumb.loading('lazy').html(title,title)|raw }} +
{% endif %}
@@ -15,7 +15,7 @@
{{ page.date|date(config.system.pages.dateformat.short) }}
-

{{ page.summary|truncate(200)|raw }}

+ {{ page.summary|truncate(300, true)|raw }}