Is your feature request related to a problem? Please describe.
I am attempting to add GDPR compliance to my site as a newbie to web development. The ready-made Javascript-based solutions do not seem to me made for Hugo templates.
Describe the solution you'd like
I would like for the Hugo cookie consent add-on to be built into Anatole. (https://hugocodex.org/add-ons/cookie-consent/). If the add-on is not official, I apologize for my lack of knowledge.
Describe alternatives you've considered
I have tried to add this cookie consent project (https://github.com/orestbida/cookieconsent); however, I do not know if it is appropriate for a Hugo-based website.
Additional context
When trying to add the cookie consent project linked to in the previous section as a local .js file, I received an error in the browser console stating that import statements cannot be used outside a module. Thus, no cookie consent pop-up appeared when using that project.
Is your feature request related to a problem? Please describe. I am attempting to add GDPR compliance to my site as a newbie to web development. The ready-made Javascript-based solutions do not seem to me made for Hugo templates.
Describe the solution you'd like I would like for the Hugo cookie consent add-on to be built into Anatole. (https://hugocodex.org/add-ons/cookie-consent/). If the add-on is not official, I apologize for my lack of knowledge.
Describe alternatives you've considered I have tried to add this cookie consent project (https://github.com/orestbida/cookieconsent); however, I do not know if it is appropriate for a Hugo-based website.
Additional context When trying to add the cookie consent project linked to in the previous section as a local .js file, I received an error in the browser console stating that import statements cannot be used outside a module. Thus, no cookie consent pop-up appeared when using that project.