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

github.com/varkai/hugo-theme-zozo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorimzeuk <imzeuk@gmail.com>2019-04-19 04:56:38 +0300
committerimzeuk <imzeuk@gmail.com>2019-04-19 04:56:38 +0300
commit125b8326bd1040c71ff1f15ad9cde98fe31812cd (patch)
tree0dc88d127374ceec5b2e467c3bbba04f9a3ab4e3
parentf7eb2aadd387652dde1c3d8bc68dc09f0345d9a0 (diff)
update theme
-rw-r--r--README.md2
-rw-r--r--exampleSite/config.toml3
-rw-r--r--layouts/partials/js.html6
3 files changed, 5 insertions, 6 deletions
diff --git a/README.md b/README.md
index bed76de..8885968 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ A simple and beautiful theme for Hugo
+ **Social links(Customize)**
+ **Tags page**
+ **Archive page**
-+ **[Valine](https://valine.js.org/en/index.html) comment-system**
++ **Disqus and [Valine](https://valine.js.org/en/index.html) comment-system**
+ **Fancybox**
+ **GoogleAnalytics**
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index f2d4cd1..5567581 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -8,6 +8,7 @@ summaryLength = 100
paginate = 4 # shows the number of articles # 首页显示文章数量
enableEmoji = true
googleAnalytics = "" # your google analytics id
+disqusShortname = "" # your discuss shortname
[author] # essential # 必需
name = "Zeuk"
@@ -46,8 +47,6 @@ googleAnalytics = "" # your google analytics id
enableMathJax = true # enable mathjax # 是否使用mathjax(数学公式)
enableSummary = true # display the article summary # 是否显示文章摘要
-
- enableGoogleAnalytics = true # enable google analytics # 谷歌统计
# Valine.
# You can get your appid and appkey from https://leancloud.cn
diff --git a/layouts/partials/js.html b/layouts/partials/js.html
index cb16026..7422b3b 100644
--- a/layouts/partials/js.html
+++ b/layouts/partials/js.html
@@ -10,6 +10,6 @@
{{ partial "mathjax.html" . }}
{{ end }}
-{{ if .Site.Params.enableGoogleAnalytics }}
- {{ template "_internal/google_analytics_async.html" . }}
-{{ end }}
+{{ template "_internal/google_analytics_async.html" . }}
+
+{{ template "_internal/disqus.html" . }}