mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-24 21:20:17 +01:00
663f3db2a0
* Add Vim modeline comments to all relevent template files. * Add Vim modeline comments to a few other files. * Move modeline comments inside the template definitions in list and single. For some odd reason, putting them outside breaks the page generation. * Use template comments for modeline comments in templates. * Fix form 2 modelines.
27 lines
697 B
HTML
27 lines
697 B
HTML
<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>
|
|
|
|
{{- /* vim: set ts=2 sw=2 et: */}}
|