diff --git a/themes/learn2-dark/templates/search.html.twig b/themes/learn2-dark/templates/search.html.twig index 51ccadd..a325a72 100644 --- a/themes/learn2-dark/templates/search.html.twig +++ b/themes/learn2-dark/templates/search.html.twig @@ -1,7 +1,11 @@ -{% extends 'partials/base.html.twig' %} +{% embed 'partials/base.html.twig' with { github_link_position: false } %} -{% block content %} - {{ page.content|raw }} + {% block content %} + {{ page.content|raw }} - {% 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 + {% include 'partials/tntsearch.html.twig' with { in_page: true, placeholder: "Search the Grav documentation..." }%} + {% endblock %} + + {% block footer %}{% endblock %} + +{% endembed %} \ No newline at end of file