mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2025-05-10 14:36:01 +02:00
Add plumbing for cookie consent
Set the cookie_consent_info_url parameter in your site's config to display a message about cookie usage to your users. See the config in `exampleSite/config.toml` for more info.
This commit is contained in:
@ -19,6 +19,10 @@
|
||||
{{ end }}
|
||||
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
|
||||
{{ if .Site.Params.cookie_consent_info_url }}
|
||||
{{ partial "cookie-consent.html" . }}
|
||||
{{ end }}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
Reference in New Issue
Block a user