mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[fix] plugins in simple theme
The previous commit introduced a new plugin Resource API. This commit implements the necessary changes in the simple theme. (There's no change to infinite_scroll.py because it hasn't actually yet been implemented in the Simple theme.)
This commit is contained in:
parent
3f77ff29a3
commit
1af96e2a7e
7 changed files with 46 additions and 52 deletions
|
|
@ -24,9 +24,6 @@
|
|||
<script src="{{ url_for('static', filename='js/searxng.head.min.js') }}"
|
||||
data-method="{{ method or 'POST' }}"
|
||||
data-autocompleter="{% if autocomplete %}true{% else %}false{% endif %}"
|
||||
data-search-on-category-select="{{ 'true' if 'plugins/js/search_on_category_select.js' in scripts else 'false'}}"
|
||||
data-infinite-scroll="{{ 'true' if 'plugins/js/infinite_scroll.js' in scripts else 'false' }}"
|
||||
data-hotkeys="{{ 'true' if 'plugins/js/vim_hotkeys.js' in scripts else 'false' }}"
|
||||
data-static-path="{{ url_for('static', filename='themes/simple') }}/"
|
||||
data-translations="{{ translations }}"></script>
|
||||
{% block head %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue