Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/reuixiy/hugo-theme-meme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreuixiy <reuixiy@gmail.com>2019-12-19 18:59:54 +0300
committerreuixiy <reuixiy@gmail.com>2019-12-19 18:59:54 +0300
commit09e99769a473410aeeb8e4081f99274fbf81645f (patch)
tree234638bb2af9696dfd27910d514bcaac2995bef6 /config-examples
parent648fba19fb560e622a97698c7299224fc2f59d02 (diff)
feat: support busuanzi view counter #40
Diffstat (limited to 'config-examples')
-rw-r--r--config-examples/en-us/config.toml18
-rw-r--r--config-examples/zh-cn/config.toml17
2 files changed, 35 insertions, 0 deletions
diff --git a/config-examples/en-us/config.toml b/config-examples/en-us/config.toml
index 621c981..227abf8 100644
--- a/config-examples/en-us/config.toml
+++ b/config-examples/en-us/config.toml
@@ -714,6 +714,13 @@ uglyURLs = false
displayReadingTime = true
readingTimeIcon = "clock"
+ displayBusuanziPagePV = false
+ busuanziPagePVIcon = "eye"
+ # Note: render only in production
+ # environment
+ # Homepage is not supported yet
+ # https://busuanzi.ibruce.info/
+
######################################
# Table of Contents
@@ -1098,6 +1105,17 @@ uglyURLs = false
# Custom Footer (Markdown supported)
customFooter = ""
+ displayBusuanziSiteUVAndPV = false
+ busuanziSiteUVText = "Site UV"
+ busuanziSiteUVIcon = "user"
+ busuanziSitePVText = "Site PV"
+ busuanziSitePVIcon = "eye"
+ # Note: render only in production
+ # environment
+ # Leave it empty("") if you
+ # don’t need the text or icon
+ # https://busuanzi.ibruce.info/
+
######################################
# Multilingual
diff --git a/config-examples/zh-cn/config.toml b/config-examples/zh-cn/config.toml
index e04a398..37e634d 100644
--- a/config-examples/zh-cn/config.toml
+++ b/config-examples/zh-cn/config.toml
@@ -672,6 +672,14 @@ uglyURLs = false
# 阅读时长的图标
readingTimeIcon = "clock"
+ # 是否显示不蒜子页面浏览量
+ displayBusuanziPagePV = false
+ # 不蒜子页面浏览量的图标
+ busuanziPagePVIcon = "eye"
+ # 说明:仅在生产环境(production)下渲染
+ # 首页暂不支持
+ # https://busuanzi.ibruce.info/
+
######################################
# 文章目录
@@ -1065,6 +1073,15 @@ uglyURLs = false
# 自定义页脚(支持 Markdown)
customFooter = ""
+ displayBusuanziSiteUVAndPV = false
+ busuanziSiteUVText = "本站访客数"
+ busuanziSiteUVIcon = "user"
+ busuanziSitePVText = "本站访问量"
+ busuanziSitePVIcon = "eye"
+ # 说明:仅在生产环境(production)下渲染
+ # 文本或图标,留空("")则无
+ # https://busuanzi.ibruce.info/
+
######################################
# 多语言