Cookie concent feature.
This commit is contained in:
parent
39031274e8
commit
79b366cb18
1 changed files with 236 additions and 6 deletions
10
layouts/partials/cookieconsent.html
Normal file
10
layouts/partials/cookieconsent.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<div class="cookieconsent layout__cookieconsent">
|
||||
<div class="cookieconsent__message">
|
||||
{{ i18n "cookieconsent_message" }}
|
||||
{{ with .Site.Params.privacyPolicyUrl }}<a href="{{ . }}">{{ i18n "privacy_policy" }}</a>{{ end }}
|
||||
</div>
|
||||
<div class="cookieconsent__actions">
|
||||
<button class="button button--small button--cookieconsent button--decline" type="button" data-consent="false">{{ i18n "cookieconsent_decline" }}</button>
|
||||
<button class="button button--small button--cookieconsent button--accept" type="button" data-consent="true">{{ i18n "cookieconsent_accept" }}</button>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in a new issue