Asset cache-busting & i18n string additions (#2500)

Signed-off-by: Daniel Gray <dngray@privacyguides.org>
This commit is contained in:
Jonah Aragon 2024-04-08 11:25:00 +00:00 committed by Daniel Gray
parent a7a8817c21
commit 9626aabea8
No known key found for this signature in database
GPG Key ID: 41911F722B0F9AE3
2 changed files with 8 additions and 6 deletions

View File

@ -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
@ -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

View File

@ -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"