First draft.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<div id="cookie-banner" style="display:none" role="dialog"
|
||||
aria-label="Cookie consent" aria-live="polite"
|
||||
data-matomo-url="{{ .Site.Params.hugo_cookie_consent.matomo_host }}"
|
||||
data-matomo-site-id="{{ .Site.Params.hugo_cookie_consent_matomo_site_id }}" >
|
||||
<p>
|
||||
{{ i18n "site_wants_cookie" }}
|
||||
<a href="{{ .Site.Params.hugo_cookie_consent.privacy_policy_url }}">
|
||||
{{ i18n "cookie_more_info" }}
|
||||
</a>
|
||||
</p>
|
||||
<div>
|
||||
<button id="cookie-accept">
|
||||
{{ i18n "cookie_button_accept" }}
|
||||
</button>
|
||||
<button id="cookie-decline">
|
||||
{{ i18n "cookie_button_decline" }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,12 @@
|
||||
<p>
|
||||
{{ i18n "cookie_status" }}:
|
||||
<strong id="cookie_status"
|
||||
data-accepted="{{ i18n "cookie_accepted" }}"
|
||||
data-declined="{{ i18n "cookie_declined" }}"
|
||||
data-none="{{ i18n "cookie_none" }}">
|
||||
—
|
||||
</strong>
|
||||
</p>
|
||||
<button onclick="reopenCookieBanner()">
|
||||
{{ i18n "cookie_change" }}
|
||||
</button>
|
||||
Reference in New Issue
Block a user