From 4bbeb1337ded45c225ed6bb3bd40b669b2b9ad4e Mon Sep 17 00:00:00 2001 From: Linh Pham Date: Thu, 12 Sep 2024 09:35:42 -0700 Subject: [PATCH] Add missing Umami Analytics template file --- CHANGELOG.md | 6 ++++++ app/templates/core/umami.html | 15 +++++++++++++++ app/version.py | 2 +- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 app/templates/core/umami.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bf8757..8761d39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changes +## 3.0.1 + +### Application Notes + +- Add missing Umami Analytics template file + ## 3.0.0-post0 ### Application Changes diff --git a/app/templates/core/umami.html b/app/templates/core/umami.html new file mode 100644 index 0000000..cb087fe --- /dev/null +++ b/app/templates/core/umami.html @@ -0,0 +1,15 @@ +{% if umami.enabled %} + {% if umami.url and umami.website_id %} + + {% set auto_track = "true" if umami.auto_track else "false" %} + {% set domains = umami.domains if umami.domains else None %} + {% set host_url = umami.host_url if umami.host_url else None %} + {% if host_url and domains %} + + {% elif domains %} + + {% else %} + + {% endif %} + {% endif %} +{% endif %} diff --git a/app/version.py b/app/version.py index 2bc52cc..09910e3 100644 --- a/app/version.py +++ b/app/version.py @@ -5,4 +5,4 @@ # vim: set noai syntax=python ts=4 sw=4: """Application Version for Wait Wait Graphs Site.""" -APP_VERSION = "3.0.0" +APP_VERSION = "3.0.1"