mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 02:15:09 +00:00
Link cookie consent "learn more" to privacy policy
To enable, create `privacy.md` in `content/` and add your privacy policy. Close #537
This commit is contained in:
1 parent
01f57b7e91
commit
bf01c80d08
2 files changed
+15
-2
No files matched your search
@@ -0,0 +1,12 @@
|
||||
+++
|
||||
title = "Privacy Policy"
|
||||
|
||||
date = 2018-06-28T00:00:00
|
||||
draft = false
|
||||
|
||||
# [header]
|
||||
# image = ""
|
||||
# caption = ""
|
||||
+++
|
||||
|
||||
...
|
||||
@@ -19,8 +19,9 @@
|
||||
"content": {
|
||||
"message": {{ i18n "cookie_message" | default "This website uses cookies to ensure you get the best experience on our website." }},
|
||||
"dismiss": {{ i18n "cookie_dismiss" | default "Got it!" }},
|
||||
"link": {{ i18n "cookie_learn" | default "Learn more" }}
|
||||
"link": {{ i18n "cookie_learn" | default "Learn more" }},
|
||||
"href": {{ with .Site.GetPage "page" "privacy.md" }}{{ printf "%s" .Permalink }}{{ else }}"https://cookies.insites.com"{{ end }}
|
||||
}
|
||||
})});
|
||||
</script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in new issue
Block a user