Cleaned up matomo integration

This commit is contained in:
2025-02-19 12:01:36 +01:00
parent 6282330226
commit 7377aa9c20
5 changed files with 13 additions and 58 deletions

View File

@@ -1,9 +1,9 @@
# Allow multiple sub_filters
{# Allow multiple sub_filters #}
sub_filter_once off;
sub_filter_types text/html;
{% if global_matomo_tracking_enabled | bool %}
# Include Global Matomo Tracking
{# Include Global Matomo Tracking #}
{% include 'roles/nginx-modifier-matomo/templates/matomo-tracking.conf.j2' %}
{% endif %}
@@ -12,6 +12,6 @@ sub_filter_types text/html;
{% endif %}
{% if global_theming_enabled | bool %}
# Include Global CSS Location
{# Include Global CSS Location #}
{% include 'roles/nginx-modifier-css/templates/location.conf.j2' %}
{% endif %}