mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Renaming block inlinejs to footer
This commit is contained in:
parent
abbd075ebe
commit
e16b8a830a
|
@ -154,7 +154,7 @@
|
|||
</script>
|
||||
{% endif %}
|
||||
|
||||
{%- block inlinejs %} {% endblock %}
|
||||
{%- block footer %} {% endblock %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
{%- extends "layout.html" %}
|
||||
{% set title = _('Search') %}
|
||||
{% set script_files = script_files + ['_static/searchtools.js'] %}
|
||||
{% block inlinejs %}
|
||||
{% block footer %}
|
||||
<script type="text/javascript">
|
||||
jQuery(function() { Search.loadIndex("{{ pathto('searchindex.js', 1) }}"); });
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue
Block a user