decidim: mirror koopa-decidim setup (9027, docs for /sm showcase)
This commit is contained in:
parent
d519fb3c80
commit
9ae0dfa429
21 changed files with 998 additions and 2 deletions
10
configs/decidim/theme/hacktivism-consent.js
Normal file
10
configs/decidim/theme/hacktivism-consent.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* Essential-only consent; banner hidden via CSS. */
|
||||
(function () {
|
||||
var name = "decidim-consent";
|
||||
if (document.cookie.indexOf(name + "=") !== -1) return;
|
||||
document.cookie =
|
||||
name +
|
||||
"=" +
|
||||
encodeURIComponent(JSON.stringify({ essential: true })) +
|
||||
"; path=/; max-age=31536000; SameSite=Lax";
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue