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:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html4
-rw-r--r--layouts/partials/js.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 2233552..638aa87 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -27,9 +27,11 @@
{{ end }}
</div>
</div>
- <!-- Valine 评论系统 -->
+ <!-- 评论系统 -->
{{ if .Site.Params.valine.enable }}
{{ partial "comments.html" . }}
+ {{ else }}
+ <div class="doc_comments">{{ template "_internal/disqus.html" . }}</div>
{{ end }}
</div>
</div>
diff --git a/layouts/partials/js.html b/layouts/partials/js.html
index b3772ff..3b370cf 100644
--- a/layouts/partials/js.html
+++ b/layouts/partials/js.html
@@ -7,6 +7,4 @@
{{ partial "mathjax.html" . }}
{{ end }}
-{{ template "_internal/google_analytics_async.html" . }}
-
-{{ template "_internal/disqus.html" . }} \ No newline at end of file
+{{ template "_internal/google_analytics_async.html" . }} \ No newline at end of file