feat(cookies): add Cookie consent banner (#355)
This commit is contained in:
@@ -604,6 +604,15 @@ Please open the code block below to view the complete sample configuration :(far
|
||||
# server url for your tracker if you're self hosting
|
||||
server = ""
|
||||
|
||||
# {{< version 0.2.7 >}} Cookie consent config
|
||||
[params.cookieconsent]
|
||||
enable = true
|
||||
# text strings used for Cookie consent banner
|
||||
[params.cookieconsent.content]
|
||||
message = ""
|
||||
dismiss = ""
|
||||
link = ""
|
||||
|
||||
# {{< version 0.2.7 changed >}} CDN config for third-party library files
|
||||
[params.cdn]
|
||||
# CDN data file name, disabled by default
|
||||
|
||||
@@ -609,6 +609,15 @@ Please open the code block below to view the complete sample configuration :(far
|
||||
# server url for your tracker if you're self hosting
|
||||
server = ""
|
||||
|
||||
# {{< version 0.2.7 >}} Cookie consent config
|
||||
[params.cookieconsent]
|
||||
enable = true
|
||||
# text strings used for Cookie consent banner
|
||||
[params.cookieconsent.content]
|
||||
message = ""
|
||||
dismiss = ""
|
||||
link = ""
|
||||
|
||||
# {{< version 0.2.7 changed >}} CDN config for third-party library files
|
||||
[params.cdn]
|
||||
# CDN data file name, disabled by default
|
||||
|
||||
@@ -607,6 +607,15 @@ hugo
|
||||
# 自行托管追踪器时的主机路径
|
||||
server = ""
|
||||
|
||||
# {{< version 0.2.7 >}} Cookie 许可配置
|
||||
[params.cookieconsent]
|
||||
enable = true
|
||||
# 用于 Cookie 许可横幅的文本字符串
|
||||
[params.cookieconsent.content]
|
||||
message = ""
|
||||
dismiss = ""
|
||||
link = ""
|
||||
|
||||
# {{< version 0.2.7 changed >}} 第三方库文件的 CDN 设置
|
||||
[params.cdn]
|
||||
# CDN 数据文件名称, 默认不启用
|
||||
|
||||
Reference in New Issue
Block a user