pelican-plugins icon indicating copy to clipboard operation
pelican-plugins copied to clipboard

feature: add cookie hint on every html page (DSGVO)

Open ronnyfriedland opened this issue 6 years ago • 2 comments

To be compliant to the european DSGVO, if your website uses cookies you way need to inform the visitor of your website.

This plugin modifies the generated html pages and adds neccessary html/css/js to the pages. Text to be displayed is configurable. Test is included.

ronnyfriedland avatar May 04 '19 18:05 ronnyfriedland

Wouldn't you do this in the theme?

Also, looks like this would require jQuery but no mention of it in the readme.

And a defined but never used variable in the code: JS_LIBRARIES

avaris avatar May 15 '19 19:05 avaris

Hi, thank you for giving feedback.

Putting it to the theme would be much easier you are right - but you have to always use the same theme or requires modifying any theme before using.

I removed th unused vaiable and import and added the dependency to jquery.

ronnyfriedland avatar May 16 '19 10:05 ronnyfriedland