Files
hugo_bootstrap_theme/layouts/_partials/cookie-consent.html
T
2026-06-16 16:45:32 +02:00

11 lines
425 B
HTML

{{ if not (isset .Site.Params "cookieConsentDisabled") }}
<div id="cookie-banner" style="display:none" role="dialog"
aria-label="Cookie consent" aria-live="polite">
<p>Diese Website möchte ein Cookie speichern.
<a href="{{ .Site.Params.privacyPolicyURL }}">Mehr darüber.</a></p>
<div>
<button id="cookie-accept">Akzeptieren</button>
<button id="cookie-decline">Ablehnen</button>
</div>
</div>
{{ end }}