add cookie banner

This commit is contained in:
Christoph Cullmann 2021-02-18 22:15:39 +01:00
parent edc2bf8eb8
commit 640572ecab
6 changed files with 89 additions and 7 deletions

View file

@ -233,13 +233,7 @@ pygmentsCodefencesGuessSyntax = true
# Cookie consent config
# Cookie 许可配置
[params.cookieconsent]
enable = false
# text strings used for Cookie consent banner
# 用于 Cookie 许可横幅的文本字符串
[params.cookieconsent.content]
message = ""
dismiss = ""
link = ""
enable = true
# Markup related configuration in Hugo
# Hugo 解析文档的配置