tipue_search search improvement

Support Flex search, that is located in a sub directory, like https://FQDN/blog.
This commit is contained in:
Richard Bos 2021-07-26 16:55:32 +02:00 committed by GitHub
parent 21dd3f677b
commit 81dbd791cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -175,7 +175,7 @@
{% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}
{% if PLUGINS and 'tipue_search' in PLUGINS %}
<form class="navbar-search" action="/search.html" role="search">
<form class="navbar-search" action="{{ SITEURL }}/search.html" role="search">
<input type="text" name="q" id="tipue_search_input" placeholder="{{ _('Search...') }}">
</form>
{% endif %}