Skip to content

Commit

Permalink
Merge branch 'hotfix/1.7.1' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
rlskoeser committed Oct 8, 2024
2 parents 5adab17 + 8c51204 commit 12b7ed8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
CHANGELOG
=========

1.7.1
-----

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

1.7
---

Expand Down
1 change: 1 addition & 0 deletions mep/context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def template_settings(request):
"site": site,
# needed for footer; easier to get here than in template
"about_page": site.root_page.get_children().filter(slug="about").first(),
"INCLUDE_ANALYTICS": getattr(settings, "INCLUDE_ANALYTICS", False),
"PLAUSIBLE_ANALYTICS_SCRIPT": getattr(
settings, "PLAUSIBLE_ANALYTICS_SCRIPT", None
),
Expand Down

0 comments on commit 12b7ed8

Please sign in to comment.