Try alternative include for tntsearch

This commit is contained in:
exu 2024-09-18 13:36:28 +02:00
parent eac1f68b03
commit 668a1a0684

View File

@ -1,7 +1,11 @@
{% extends 'partials/base.html.twig' %}
{% embed 'partials/base.html.twig' with { github_link_position: false } %}
{% block content %}
{% block content %}
{{ page.content|raw }}
{% embed 'partials/tntsearch.html.twig' with { limit: 10, snippet: 150, min: 3, search_type: 'auto', dropdown: true } %}{% endembed %}
{% endblock %}
{% include 'partials/tntsearch.html.twig' with { in_page: true, placeholder: "Search the Grav documentation..." }%}
{% endblock %}
{% block footer %}{% endblock %}
{% endembed %}