From 47fe3c204ee984c5b1b8985588ffe4f050161771 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org>
Date: Mon, 31 Mar 2025 17:30:49 +0200
Subject: [PATCH] fix fbevents

---
 make_a_wish/models.py                                   | 4 ++++
 make_a_wish/templates/make_a_wish/make_a_wish_root.html | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/make_a_wish/models.py b/make_a_wish/models.py
index a51b6209..49cd04d9 100644
--- a/make_a_wish/models.py
+++ b/make_a_wish/models.py
@@ -103,6 +103,10 @@ class MakeAWishRoot(
         ]
     )
 
+    @property
+    def root_page(self):
+        return self
+
     def process_form_submission(self, form):
         # Custom code on form submission
         cleaned_data = form.cleaned_data
diff --git a/make_a_wish/templates/make_a_wish/make_a_wish_root.html b/make_a_wish/templates/make_a_wish/make_a_wish_root.html
index 01304d82..607c3af2 100644
--- a/make_a_wish/templates/make_a_wish/make_a_wish_root.html
+++ b/make_a_wish/templates/make_a_wish/make_a_wish_root.html
@@ -4,10 +4,6 @@
 {% block head_start %}
     {% comment %}quick dirty fix{% endcomment %}
     <title>Máte přání?</title>
-
-    {% if page.matomo_id %}
-        {% include "shared/matomo_snippet.html" with matomo_id=page.matomo_id %}
-    {% endif %}
 {% endblock %}
 
 {% block content %}
-- 
GitLab