Use localstorage for cookiconsent response instead of setting a cookie.
This commit is contained in:
parent
fec3d75d9c
commit
767119d014
1 changed files with 37 additions and 49 deletions
|
|
@ -11,8 +11,6 @@
|
|||
<script defer src="{{ $mobilemenu.RelPermalink }}"></script>
|
||||
{{ end -}}
|
||||
{{ if $.Param "cookieconsent" -}}
|
||||
{{ $jscookie := resources.Get "js/lib/js.cookie.min.js" | fingerprint -}}
|
||||
<script src="{{ $jscookie.RelPermalink }}"></script>
|
||||
{{ $cookieconsent := resources.Get "js/cookieconsent.js" | minify | fingerprint -}}
|
||||
<script defer src="{{ $cookieconsent.RelPermalink }}"></script>
|
||||
{{ end -}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue