Skip to content

Commit

Permalink
Merge branch 'hotfix/3.13.2' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
laurejt committed Oct 9, 2024
2 parents b97d42a + 14d6d5f commit cbbb686
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
CHANGELOG
=========

3.13.2
------
- Add `INCLUDE_ANALYTICS` to template context so Plausible analytics can be enabled

3.13.1
----
------
- Add support for Plausible analytics
- Update admin login template to correctly include pucas styles and adjust spacing

Expand Down
1 change: 1 addition & 0 deletions ppa/context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def template_globals(request):
"SHOW_TEST_WARNING": getattr(settings, "SHOW_TEST_WARNING", False),
"site": Site.objects.get_current(),
"GTAGS_ANALYTICS_ID": getattr(settings, "GTAGS_ANALYTICS_ID", False),
"INCLUDE_ANALYTICS": getattr(settings, "INCLUDE_ANALYTICS", False),
"PLAUSIBLE_ANALYTICS_SCRIPT": getattr(settings, "PLAUSIBLE_ANALYTICS_SCRIPT", False),
"PLAUSIBLE_ANALYTICS_404s": getattr(settings, "PLAUSIBLE_ANALYTICS_404s", False),
}
Expand Down

0 comments on commit cbbb686

Please sign in to comment.