Add cookie banner

This commit is contained in:
Davide Depau 2018-12-09 02:11:52 +01:00
parent ef769053ad
commit 180a483861
Signed by: depau
GPG key ID: C7D999B6A55EFE86

View file

@ -147,4 +147,27 @@
</script> </script>
<noscript><p><img src="//analytics.depau.eu/piwik.php?idsite=3&amp;rec=1" style="border:0;" alt="" /></p></noscript> <noscript><p><img src="//analytics.depau.eu/piwik.php?idsite=3&amp;rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code --> <!-- End Matomo Code -->
<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": "#2d643e",
"text": "#ffffff"
},
"button": {
"background": "#a3c439",
"text": "#ffffff"
}
},
"theme": "edgeless",
"position": "bottom-right",
"content": {
"message": "This website uses cookies for anonymized traffic analytics.\nTo opt-out, enable the \"Do Not Track\" option in your browser's settings."
}
})});
</script>
</head> </head>