Skip to content
Snippets Groups Projects
Verified Commit 8f18105e authored by Thorge Petersen's avatar Thorge Petersen
Browse files

fix: moved matomo code to scripts block

parent 41c39aef
Branches
Tags
No related merge requests found
...@@ -2,14 +2,6 @@ ...@@ -2,14 +2,6 @@
{% block scripts %} {% block scripts %}
{% asset 'ckanext-odsh/odsh_base_script' %} {% 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() %} {% if h.odsh_matomo_enabled() %}
<!-- Matomo --> <!-- Matomo -->
<script> <script>
...@@ -36,6 +28,14 @@ ...@@ -36,6 +28,14 @@
</noscript> </noscript>
<!-- End Matomo Code --> <!-- End Matomo Code -->
{% endif %} {% endif %}
{% endblock scripts %}
{% block styles %}
{{ super() }}
{% asset 'ckanext-odsh/odsh_base_style' %}
{% endblock styles %}
{% block head_extras %}
{{ super() }}
{% endblock %} {% endblock %}
{% block bodytag %} data-site-root="{{ h.odsh_public_url() }}" data-locale-root="{{ h.odsh_public_url() }}" {% endblock %} {% block bodytag %} data-site-root="{{ h.odsh_public_url() }}" data-locale-root="{{ h.odsh_public_url() }}" {% endblock %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment