2019-06-04 00:26:09 +02:00
|
|
|
<link href="{{ "css/cookieconsent.min.css" | absURL }}" rel="stylesheet" type="text/css"{{ if not .Site.Params.disable_sri }} integrity="{{ .Site.Data.sri.cookieconsentcss }}" crossorigin="anonymous"{{ end }}>
|
|
|
|
<script src="{{ "js/cookieconsent.min.js" |absURL }}"{{ if not .Site.Params.disable_sri }} integrity="{{ .Site.Data.sri.cookieconsentjs }}" crossorigin="anonymous"{{ end }} async></script>
|
2016-11-13 13:13:17 +01:00
|
|
|
|
|
|
|
<script>
|
|
|
|
window.addEventListener("load", function(){
|
2016-11-24 13:39:39 +01:00
|
|
|
window.cookieconsent.initialise({
|
|
|
|
"palette": {
|
|
|
|
"popup": {
|
|
|
|
"background": "#428bca",
|
|
|
|
"text": "#ffffff"
|
|
|
|
},
|
|
|
|
"button": {
|
|
|
|
"background": "#f71559"
|
|
|
|
}
|
2016-11-13 13:13:17 +01:00
|
|
|
},
|
2016-11-24 13:39:39 +01:00
|
|
|
"content": {
|
|
|
|
"message": '{{ i18n "cookieMessage" }}',
|
|
|
|
"dismiss": '{{ i18n "cookieDismiss" }}',
|
|
|
|
"link": '{{ i18n "cookieLink" }}',
|
|
|
|
"href": "{{ .Site.Params.cookie_consent_info_url | absURL}}"
|
|
|
|
},
|
|
|
|
"position": "bottom-right"
|
|
|
|
})});
|
2016-11-13 13:13:17 +01:00
|
|
|
</script>
|
2016-11-24 13:33:56 +01:00
|
|
|
|
|
|
|
{{- /* vim: set ts=2 sw=2 et: */}}
|