diff options
author | varkai <i@varkai.com> | 2020-06-28 11:43:30 +0300 |
---|---|---|
committer | varkai <i@varkai.com> | 2020-06-28 11:43:30 +0300 |
commit | 700474e64e7422b01650f22844f272e0c72f6da4 (patch) | |
tree | 941c09defde9ee9ce8792e08c9ab373d8578aa0e /layouts/_default/single.html | |
parent | 5d7491770dc71f49dd7865f0a3b54e1d0875718e (diff) |
修复disqus评论样式
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 4 |
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> |