Skip to content

Commit

Permalink
Asset cache-busting & i18n string additions (#2500)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Gray <[email protected]>
  • Loading branch information
jonaharagon authored and dngray committed Apr 8, 2024
1 parent a7a8817 commit 9626aab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/mkdocs-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ extra:
]
cookies:
analytics:
name: Self-Hosted Analytics
name: !ENV [ANALYTICS_COOKIE_UMAMI, "Self-Hosted Analytics"]
checked: true
github:
name: GitHub API
name: !ENV [ANALYTICS_COOKIE_GITHUB, "GitHub API"]
checked: true
actions:
- reject
Expand Down Expand Up @@ -293,11 +293,11 @@ theme:
- search.highlight

extra_css:
- assets/stylesheets/extra.css?v=3.17.0
- assets/stylesheets/extra.css?v=1
extra_javascript:
- assets/javascripts/randomize-element.js
- assets/javascripts/resolution.js
- assets/javascripts/feedback.js
- assets/javascripts/randomize-element.js?v=1
- assets/javascripts/resolution.js?v=1
- assets/javascripts/feedback.js?v=1

watch:
- ../theme
Expand Down
2 changes: 2 additions & 0 deletions includes/strings.en.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
ANALYTICS_CONSENT_BODY="We collect anonymous statistics about your visits to help us improve the site. We do not track you across other websites. If you disable this, we will not know when you have visited our site. We will save a single cookie in your browser to remember your preference."
ANALYTICS_CONSENT_TITLE="Contribute anonymous statistics"
ANALYTICS_COOKIE_GITHUB="GitHub API"
ANALYTICS_COOKIE_UMAMI="Self-Hosted Analytics"
ANALYTICS_FEEDBACK_NEGATIVE_NAME="This page could be improved"
ANALYTICS_FEEDBACK_NEGATIVE_NOTE='Thanks for your feedback! If you want to let us know more, please leave a post on our <a href="https://discuss.privacyguides.net/c/site-development/7" target="_blank" rel="noopener">forum</a>.'
ANALYTICS_FEEDBACK_POSITIVE_NAME="This page was helpful"
Expand Down

0 comments on commit 9626aab

Please sign in to comment.