forked from data.coop/website
18 lines
528 B
HTML
18 lines
528 B
HTML
{{ if eq .Site.Params.cookieConsent true }}
|
|
<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": "#216942",
|
|
"text": "#b2d192"
|
|
},
|
|
"button": {
|
|
"background": "#afed71"
|
|
}
|
|
}
|
|
})});
|
|
</script>
|
|
{{ end }} |