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
|
|
@ -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 -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue