diff --git a/views/layout.pug b/views/layout.pug index 338e132..1e0410f 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -22,6 +22,25 @@ html link(rel="stylesheet", type="text/css", href="//fonts.googleapis.com/css?family=Open+Sans") link(rel="stylesheet", type="text/css", href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css") script(src="/script/main.js") + block cookieconsent + link(rel="stylesheet", type="text/css", href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.4/cookieconsent.min.css") + script(src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.4/cookieconsent.min.js") + script(type="text/javascript"). + window.addEventListener('load', function () { + window.cookieconsent.initialise({ + container: document.body, + palette:{ + popup: {background: "#00dbf7"}, + button: {background: "#0074d0"}, + }, + revokable: false, + law: { + regionalLaw: false, + }, + location: true, + }); + }); + title block title body