aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2018-11-06 20:58:37 +0000
committerJulio Capote <jcapote@gmail.com>2018-11-06 20:58:37 +0000
commitcd62dc296380b0ff6b3af19521d5ebd6356df22e (patch)
tree0cd67de41d1cac456f9d6dbf885f1a726e4f8efe
parent01d58b957f171bab6198ac382bb7e48dc627a772 (diff)
downloadcapotej.com-cd62dc296380b0ff6b3af19521d5ebd6356df22e.tar.gz
remove busuanzi
Diffstat (limited to '')
-rw-r--r--config.toml8
-rw-r--r--themes/even/layouts/partials/footer.html15
2 files changed, 1 insertions, 22 deletions
diff --git a/config.toml b/config.toml
index 4f1bc5b..b6a7143 100644
--- a/config.toml
+++ b/config.toml
@@ -82,7 +82,7 @@ copyright = "" # default: author.name ↓ # 默认为下面配
# Some global options, you can also close or open something in front matter for a single post, see more information from `archetypes/default.md`.
toc = true # 是否开启目录
autoCollapseToc = false # Auto expand and collapse toc # 目录自动展开/折叠
- fancybox = true # see https://github.com/fancyapps/fancybox # 是否启用fancybox(图片可点击)
+ fancybox = false # see https://github.com/fancyapps/fancybox # 是否启用fancybox(图片可点击)
mathjax = false # see https://www.mathjax.org/ # 是否使用mathjax(数学公式)
mathjaxEnableSingleDollar = false # 是否使用 $...$ 即可進行inline latex渲染
mathjaxEnableAutoNumber = false # 是否使用公式自动编号
@@ -144,12 +144,6 @@ copyright = "" # default: author.name ↓ # 默认为下面配
enable = false
options = "" # default: "{theme: 'simple'}"
- [params.busuanzi] # count web traffic by busuanzi # 是否使用不蒜子统计站点访问量
- enable = false
- siteUV = true
- sitePV = true
- pagePV = true
-
[params.reward] # 文章打赏
enable = false
wechat = "/path/to/your/wechat-qr-code.png" # 微信二维码
diff --git a/themes/even/layouts/partials/footer.html b/themes/even/layouts/partials/footer.html
index 577d45f..461a5c8 100644
--- a/themes/even/layouts/partials/footer.html
+++ b/themes/even/layouts/partials/footer.html
@@ -8,21 +8,6 @@
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
</span>
- {{ if .Site.Params.busuanzi.enable -}}
- <div class="busuanzi-footer">
- {{ $spinner := "img/spinner.svg" | relURL -}}
- {{ if and .Site.Params.busuanzi.enable .Site.Params.busuanzi.sitePV -}}
- {{ $valueSpan := printf `<span id="busuanzi_value_site_pv"><img src="%s" alt="spinner.svg"/></span>` $spinner -}}
- <span id="busuanzi_container_site_pv"> {{ printf (T "sitePV") $valueSpan | safeHTML }} </span>
- {{ if .Site.Params.busuanzi.siteUV }}<span class="division">|</span>{{ end }}
- {{- end }}
- {{ if and .Site.Params.busuanzi.enable .Site.Params.busuanzi.siteUV -}}
- {{ $valueSpan := printf `<span id="busuanzi_value_site_uv"><img src="%s" alt="spinner.svg"/></span>` $spinner -}}
- <span id="busuanzi_container_site_uv"> {{ printf (T "siteUV") $valueSpan | safeHTML }} </span>
- {{- end }}
- </div>
- {{- end }}
-
<span class="copyright-year">
{{- $current := now.Format "2006" }}
&copy;