1
0
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:
2016-11-13 14:13:17 +02:00
parent 3d1526eb55
commit a66be324cc
3 changed files with 37 additions and 0 deletions

View File

@ -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>