diff options
author | Sandro Leuchter <sandro.leuchter@dama.io> | 2020-02-14 20:46:07 +0300 |
---|---|---|
committer | Sandro Leuchter <sandro.leuchter@dama.io> | 2020-02-14 20:46:07 +0300 |
commit | a36fb8be7c39e4b5ef0010a9d66d8db88db2bd04 (patch) | |
tree | 8fabc1837ca1f9c0219681b09446c9abad5efcb3 /layouts | |
parent | 0fc2b0a36f8858abf5ddcbd4e7424baf52aeeb40 (diff) |
fixes on cookie consent:
- allow/deny now equal in colour and weight (for UK)
- link to privacy policy now absolut and corrected
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index bc1a27a..a7e4e00 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -54,16 +54,17 @@ window.addEventListener("load", function(){ window.cookieconsent.initialise({ "palette": { "popup": { "background": "#000"}, - "button": { "background": "#f1d600"} - }, - "theme": "classic", + "button": { "background": "#007bff"}, + "highlight": { "background": "#007bff"} + }, + "theme": "block", "type": "opt-in", "content": { "message": "{{ .Site.Params.cookieconsent.message }}", "deny": "{{ .Site.Params.cookieconsent.denyLabel }}", "allow": "{{ .Site.Params.cookieconsent.allowLabel }}", "link": "{{ .Site.Params.cookieconsent.policy.linktext }}", - "href": "{{ .Site.Params.cookieconsent.policy.url }}" + "href": "{{ .Site.Params.cookieconsent.policy.url | absURL }}" }, onStatusChange: function(status, chosenBefore) { var type = this.options.type; |