diff --git a/ckanext/odsh/templates/base.html b/ckanext/odsh/templates/base.html index 57b96682a79878fe39313a1f15a757ae1364642f..c98858ec6496a8e17295755dfcbacb1cadca9baf 100644 --- a/ckanext/odsh/templates/base.html +++ b/ckanext/odsh/templates/base.html @@ -2,14 +2,6 @@ {% block scripts %} {% asset 'ckanext-odsh/odsh_base_script' %} -{% endblock scripts %} -{% block styles %} - {{ super() }} - {% asset 'ckanext-odsh/odsh_base_style' %} -{% endblock styles %} - -{% block head_extras %} - {{ super() }} {% if h.odsh_matomo_enabled() %} <!-- Matomo --> <script> @@ -36,6 +28,14 @@ </noscript> <!-- End Matomo Code --> {% endif %} +{% endblock scripts %} +{% block styles %} + {{ super() }} + {% asset 'ckanext-odsh/odsh_base_style' %} +{% endblock styles %} + +{% block head_extras %} + {{ super() }} {% endblock %} {% block bodytag %} data-site-root="{{ h.odsh_public_url() }}" data-locale-root="{{ h.odsh_public_url() }}" {% endblock %}