From 94e1a6c06383df5e1d03501b757c1adf455e6afe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com> Date: Sun, 1 Nov 2020 21:47:47 +0100 Subject: [PATCH] uniweb: Fix matomo widget --- uniweb/templates/uniweb/base.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uniweb/templates/uniweb/base.html b/uniweb/templates/uniweb/base.html index 57a3160f..a49df61e 100644 --- a/uniweb/templates/uniweb/base.html +++ b/uniweb/templates/uniweb/base.html @@ -24,8 +24,8 @@ } </style> - {% if page.matomo_id %} - {% include "shared/matomo_snippet.html" with matomo_id=page.matomo_id %} + {% if page.root_page.matomo_id %} + {% include "shared/matomo_snippet.html" with matomo_id=page.root_page.matomo_id %} {% endif %} </head> -- GitLab