diff --git a/config/mkdocs-common.yml b/config/mkdocs-common.yml index 76b2b1d9..2a72b03f 100644 --- a/config/mkdocs-common.yml +++ b/config/mkdocs-common.yml @@ -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 diff --git a/includes/strings.en.env b/includes/strings.en.env index 182f4b92..ed0ac1ae 100644 --- a/includes/strings.en.env +++ b/includes/strings.en.env @@ -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 forum.' ANALYTICS_FEEDBACK_POSITIVE_NAME="This page was helpful"