2016-11-13 13:13:17 +01:00
|
|
|
<link href="{{ .Site.BaseURL }}css/cookieconsent.min.css" rel="stylesheet" type="text/css">
|
|
|
|
<script src="{{ .Site.BaseURL }}js/cookieconsent.min.js" async></script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
window.addEventListener("load", function(){
|
|
|
|
window.cookieconsent.initialise({
|
|
|
|
"palette": {
|
|
|
|
"popup": {
|
|
|
|
"background": "#428bca",
|
|
|
|
"text": "#ffffff"
|
|
|
|
},
|
|
|
|
"button": {
|
|
|
|
"background": "#f71559"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"content": {
|
|
|
|
"message": '{{ i18n "cookieMessage" }}',
|
|
|
|
"dismiss": '{{ i18n "cookieDismiss" }}',
|
|
|
|
"link": '{{ i18n "cookieLink" }}',
|
|
|
|
"href": "{{ .Site.Params.cookie_consent_info_url | absURL}}"
|
|
|
|
},
|
|
|
|
"position": "bottom-right"
|
|
|
|
})});
|
|
|
|
</script>
|
2016-11-24 13:33:56 +01:00
|
|
|
|
|
|
|
{{- /* vim: set ts=2 sw=2 et: */}}
|