mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2025-08-27 02:14:50 +02:00
Add GDPR-compliant cookie header & privacy-policy
This commit is contained in:
@@ -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