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
No related branches found
No related tags found
No related merge requests found
......@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment