mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-19 17:12:18 +01:00
Add missing cookieconsent partial
This commit is contained in:
parent
d3617237bb
commit
b810ae0b30
5
layouts/partials/cookie_consent.html
Normal file
5
layouts/partials/cookie_consent.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<script type="text/javascript">
|
||||||
|
window.cookieconsent_options = {{ dict "message" "This website uses cookies." "dismiss" "Got it!" "learnMore" "More info" "link" (.Site.Params.cookie_consent_info_url | absURL) "theme" "dark-top" | jsonify | safeJS }};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.10/cookieconsent.min.js"></script>
|
Loading…
Reference in New Issue
Block a user