forked from Icycoide/searxng
Suggestions: use RawTextQuery to make the suggestions URLs. Update all themes accordingly.
This commit is contained in:
parent
ddee4861ce
commit
c7220b40ea
8 changed files with 25 additions and 14 deletions
|
@ -44,8 +44,8 @@
|
|||
{% set first = true %}
|
||||
{% for suggestion in suggestions %}
|
||||
{% if not first %} • {% endif %}<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
|
||||
<input type="hidden" name="q" value="{{ suggestion }}">
|
||||
<input type="submit" class="suggestion" value="{{ suggestion }}" />
|
||||
<input type="hidden" name="q" value="{{ suggestion.url }}">
|
||||
<input type="submit" class="suggestion" value="{{ suggestion.title }}" />
|
||||
</form>
|
||||
{% set first = false %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue