Try alternative include for tntsearch
This commit is contained in:
parent
eac1f68b03
commit
668a1a0684
@ -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 %}
|
Loading…
Reference in New Issue
Block a user