cookieconsent
cookieconsent copied to clipboard
[Bug]: Incompatible with giscus due to data-cookiecategory renamed to data-category (regression)
Expected Behavior
I can use this with giscus, because its script tag can be enabled with data-cookiecategory
Current Behavior
data-cookiecategory was renamed to data-category, which is also used by giscus for discussion categories. There is no option to rename this back to data-cookiecategory.
Steps to reproduce
Install giscus
Proposed fix or additional info.
Add an option to look for data-cookiecategory.
Version
3.1.0
On which browser do you see the issue?
Firefox, Other
Workaround: Add a div placeholder and then only activate a script, which will append yet another script inside the placeholder like so: https://github.com/bmarwell/jbake-blog-template-author/commit/8c01a485c9338674fb32f4f92a8aaffb916e04e3