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/_default/single.html')
-rw-r--r--layouts/_default/single.html4
1 files changed, 3 insertions, 1 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>