mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2025-01-19 06:43:22 +01:00
Alan Orth
26f170bfdd
Previously we showed the Cookie Usage banner if the site's config had a cookie consent URL specified. As of 2018-05 (GDPR) it makes more sense to only display this banner if the site has a Google Analytics ID set. Because we are using Haven for consent manage- ment we can now inject Google Analytics automatically after the user has agreed, so we no longer need to use Hugo's internal te- mplate.