diff options
author | Dillon <dillonzq@outlook.com> | 2020-05-13 16:19:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 16:19:39 +0300 |
commit | 0a9ec9745073527c2d43c545ef8d228fb22a16fa (patch) | |
tree | 8572ef783e39c44d35737a4b5fa7b38bf8769c1a /exampleSite/config.toml | |
parent | 8d491509e02ff1a4a50f1a1b70e79e94c48bb2f6 (diff) |
feat(cookies): add Cookie consent banner (#355)
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r-- | exampleSite/config.toml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2301fa7..aa9e0a8 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -986,6 +986,17 @@ enableEmoji = true # 自行托管追踪器时的主机路径 server = "" + # Cookie consent config + # Cookie 许可配置 + [params.cookieconsent] + enable = false + # text strings used for Cookie consent banner + # 用于 Cookie 许可横幅的文本字符串 + [params.cookieconsent.content] + message = "" + dismiss = "" + link = "" + # CDN config for third-party library files # 第三方库文件的 CDN 设置 [params.cdn] |