mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2025-08-30 03:39:50 +02:00
Add GDPR-compliant cookie header & privacy-policy
This commit is contained in:
@@ -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 -->
|
||||
|
Reference in New Issue
Block a user