cookie consent
This commit is contained in:
parent
cf6622763a
commit
f8f67549dc
@ -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="//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")
|
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")
|
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
|
title
|
||||||
block title
|
block title
|
||||||
body
|
body
|
||||||
|
Reference in New Issue
Block a user