Put generic templates after javascript assets

That way it's possible for plugins to reference already loaded libraries
or constants in any injected generic templates.
This commit is contained in:
Gina Häußge committed 2019-01-18 14:10:47 +01:00
1 parent 2287c65784
commit 6a069de240
1 file changed
+2 -2
+2 -2
View File
@@ -141,14 +141,14 @@
{% include 'overlays/reloadui.jinja2' %}
<!-- End of overlays -->
{% include 'javascripts.jinja2' %}
<!-- Generic plugin template files -->
{% for key in templates.generic.order %}
{% set data = templates.generic.entries[key] %}
{% try "<!-- There was an error with the template {filename} at line number {lineno}: {exception} -->" %}{% include data.template ignore missing %}{% endtry %}
{% endfor %}
<!-- End of generic plugin template files -->
{% include 'javascripts.jinja2' %}
</div>
</body>
</html>