Add GDPR-compliant cookie header & privacy-policy
This commit is contained in:
parent
5aa470c1c5
commit
91d53dc480
5 changed files with 60 additions and 2 deletions
|
@ -45,6 +45,8 @@ footer:
|
|||
title: Site Navigation
|
||||
-
|
||||
title: Why Ads?
|
||||
-
|
||||
title: Privacy Policy
|
||||
sidebar_title:
|
||||
-
|
||||
title: Overall Progress
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
{% assign split_path = page.path | split: "/" %}
|
||||
{% assign locale = split_path[1] %}
|
||||
{% assign titles = site.data.navigation[locale].footer %}
|
||||
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} {{ site.name | default: site.title }} - <a href="https://github.com/Plailect/Guide_3DS">{{ titles[0].title }}</a> - <a href="site-navigation">{{ titles[1].title }}</a> - <a href="why-ads">{{ titles[2].title }}</a></div>
|
||||
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} {{ site.name | default: site.title }} - <a href="https://github.com/Plailect/Guide_3DS">{{ titles[0].title }}</a> - <a href="site-navigation">{{ titles[1].title }}</a> - <a href="why-ads">{{ titles[2].title }}</a> - <a href="privacy-policy">{{ titles[3].title }}</a></div>
|
||||
|
|
|
@ -16,4 +16,26 @@
|
|||
<meta name="msapplication-TileImage" content="{{ base_path }}/images/mstile-144x144.png?v=PYEmwKvQAx">
|
||||
<meta name="msapplication-config" content="{{ base_path }}/images/browserconfig.xml?v=PYEmwKvQAx">
|
||||
<meta name="theme-color" content="#2E3440">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
|
||||
<script>
|
||||
window.addEventListener("load", function(){
|
||||
window.cookieconsent.initialise({
|
||||
"palette": {
|
||||
"popup": {
|
||||
"background": "#2e3440"
|
||||
},
|
||||
"button": {
|
||||
"background": "#60818f"
|
||||
}
|
||||
},
|
||||
"theme": "edgeless",
|
||||
"position": "top",
|
||||
"static": true,
|
||||
"content": {
|
||||
"message": "This website uses cookies to display the current guide progress on the sidebar."
|
||||
}
|
||||
})});
|
||||
</script>
|
||||
<!-- end custom head snippets -->
|
||||
|
|
34
_pages/en_US/privacy-policy.txt
Normal file
34
_pages/en_US/privacy-policy.txt
Normal file
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
title: "Privacy Policy" #
|
||||
layout: single-no-ads
|
||||
---
|
||||
|
||||
### Cookies
|
||||
|
||||
This site utilizes cookies in order to fascilitate routing users through the guide instructions. Cookies allow for the sidebar of the page to display current progress through the site to help users navigate the instructions more easily.
|
||||
|
||||
### Embedded Content From Other Websites
|
||||
|
||||
This site may include embedded content (e.g. videos, images, articles, etc.). Embedded content from other websites behaves as if the user has visited the other website.
|
||||
|
||||
These websites may collect data about you, use cookies, embed additional third-party tracking, and monitor your interaction with that embedded content, including tracking your interaction with the embedded content if you have an account and are logged in to that website.
|
||||
|
||||
### Analytics
|
||||
|
||||
This site uses Google Analytics to monitor and analyze traffic. This site is hosted by Github Pages, which may collect data about you, use cookies, embed additional third-party tracking, and monitor your interaction with this site. For more information about Github Pages as it relates to user privacy, see the [GitHub Privacy Statement](https://help.github.com/en/articles/github-privacy-statement).
|
||||
|
||||
### Information Collected
|
||||
|
||||
This site does not collect personal information. This site may collect usage information in order to analyze interest in content and to provide advertisers with information on an aggregate basis. No personally identifiable information is shared with third-party advertising companies.
|
||||
|
||||
Google (as a third party advertisement vendor) uses cookies to serve ads on this site. The use of DART cookies by Google allows them to serve advertisements to visitors based on their visits to this site as well as other sites. To opt-out of DART cookies, see the [Google Advertising Privacy Policy](http://www.google.com/policies/technologies/ads/).
|
||||
|
||||
Other third-party advertising servers or networks may also use cookies to track user activity on this site to measure advertising effectiveness or for other reasons provided in their privacy policies. This site has no access or control over any cookies which may be used by third-party advertisers.
|
||||
|
||||
### Third-Party Websites
|
||||
|
||||
This site may link to other sites for users to use or reference. This site is not responsible for the privacy policies of other sites. Users should be aware that the privacy policies of other websites may differ from this one.
|
||||
|
||||
### Changes to Privacy Policy
|
||||
|
||||
The contents of this Privacy Policy may be altered at any time and for any reason. For questions regarding this site's Privacy policy, contact [plailect@gmail.com](mailto:plailect@gmail.com).
|
|
@ -114,7 +114,7 @@ $(document).ready(function(){
|
|||
var sidebar_hidden_pages = ["404", "a9lh-to-b9s", "credits", "donations", "f3-(linux)", "f3x-(mac)", "faq",
|
||||
"file-extensions-(windows)", "get-started", "godmode9-usage", "h2testw-(windows)",
|
||||
"region-changing", "site-navigation", "troubleshooting", "uninstall-cfw",
|
||||
"updating-b9s", "why-ads"];
|
||||
"updating-b9s", "why-ads", "privacy-policy"];
|
||||
|
||||
for(var i = 0; i < sidebar_hidden_pages.length; i++){
|
||||
if(window.location.href.indexOf(sidebar_hidden_pages[i]) > -1) {
|
||||
|
|
Loading…
Reference in a new issue