mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Add cookie banner
This commit is contained in:
12
docs/_includes/global/cupcake.html
Normal file
12
docs/_includes/global/cupcake.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<script src="{{ site.url }}/assets/vendor/cupcakes-3.1.0.min.js"></script>
|
||||
|
||||
<script>
|
||||
window.addEventListener("load", function(){
|
||||
window.cupcakeconsent.initialise({
|
||||
"content": {
|
||||
"message": "Just so you know, this website uses cookies.",
|
||||
"dismiss": "<span>👍</span> Got it!",
|
||||
"link": "What are cookies?"
|
||||
}
|
||||
})});
|
||||
</script>
|
||||
Reference in New Issue
Block a user