From 4933dd12682e4ebf538ab79cfbeffe24482557ff Mon Sep 17 00:00:00 2001 From: szcf-weiya <2215235182@qq.com> Date: Thu, 19 Aug 2021 15:51:34 +0800 Subject: [PATCH] add GA4 --- material/base.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/material/base.html b/material/base.html index 4d24e6e5f8..0c8c37b8ab 100644 --- a/material/base.html +++ b/material/base.html @@ -95,6 +95,15 @@ {% block extrahead %}{% endblock %} + + + {% if palette.primary or palette.accent %} {% set primary = palette.primary | replace(" ", "-") | lower %}