mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-08-18 10:40:01 +02:00
Add cookie information banner
This commit is contained in:
@@ -35,6 +35,20 @@
|
|||||||
<link href="{{ site.baseurl }}/css/bootstrap.min.css" rel="stylesheet">
|
<link href="{{ site.baseurl }}/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link href="{{ site.baseurl }}/css/theme.css" rel="stylesheet">
|
<link href="{{ site.baseurl }}/css/theme.css" rel="stylesheet">
|
||||||
<link href="{{ site.baseurl }}/css/boxes.css" rel="stylesheet">
|
<link href="{{ site.baseurl }}/css/boxes.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Cookie Consent -->
|
||||||
|
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.6/cookieconsent.min.css" />
|
||||||
|
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.6/cookieconsent.min.js"></script>
|
||||||
|
<script>
|
||||||
|
window.addEventListener("load", function(){
|
||||||
|
window.cookieconsent.initialise({
|
||||||
|
"palette": {
|
||||||
|
"popup": { "background": "#252e39" },
|
||||||
|
"button": { "background": "#14a7d0" }
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
Reference in New Issue
Block a user