victoriadrake / hugo-theme-introduction

Minimal, single page, smooth-scrolling theme for Hugo static site generator.
https://hugo-introduction.netlify.com/
Apache License 2.0
671 stars 264 forks source link

Cookie Consent? #325

Closed winxthecat closed 2 years ago

winxthecat commented 2 years ago

Is your feature request related to a problem? Please describe. In Germany/Europe, the data protection is an important thing for any website and there are specialized lawyers just searching for websites that are not following protocoll and serving notices to those websites.

As I understand, introduction uses google fonts, right? And I am also using fontawesome. Both is OK for me as I integrated them in my data protection info.

Describe the solution you'd like A cookie consent would be great. Just a simple "please allow cookies" and the option to deny that. Would that be possible?

I searched hugo's website and found no information how to do that.

winxthecat commented 2 years ago

There is this solution: https://hugocodex.org/add-ons/cookie-consent/

but it only revolves around google analytics and some chat function. Not the use of google fonts/font awesome.

victoriadrake commented 2 years ago

Looking at the Installation section of the link you added, it seems that you can modify the language in the YAML file to cover Google Fonts. Would that work?

github-actions[bot] commented 2 years ago

It looks like this has been idle a while, so I am marking it as stale. Remove the label or comment if this issue should remain open.