From eac1f68b03d4cea6c1331fcaadec96bb9d8c15b8 Mon Sep 17 00:00:00 2001 From: exu Date: Wed, 18 Sep 2024 13:34:34 +0200 Subject: [PATCH] Change to embedding --- themes/learn2-dark/templates/search.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/learn2-dark/templates/search.html.twig b/themes/learn2-dark/templates/search.html.twig index e25f1bc..51ccadd 100644 --- a/themes/learn2-dark/templates/search.html.twig +++ b/themes/learn2-dark/templates/search.html.twig @@ -3,5 +3,5 @@ {% block content %} {{ page.content|raw }} - {% include 'partials/tntsearch.html.twig' with { in_page: true }%} + {% embed 'partials/tntsearch.html.twig' with { limit: 10, snippet: 150, min: 3, search_type: 'auto', dropdown: true } %}{% endembed %} {% endblock %} \ No newline at end of file