aboutsummaryrefslogtreecommitdiff
path: root/layouts/posts
diff options
context:
space:
mode:
authorTrack3 <pengliabc@live.cn>2018-12-30 11:06:38 +0800
committerTrack3 <pengliabc@live.cn>2018-12-30 11:06:38 +0800
commitefb0b592a0072ce69be4b8afdfc859d5ae5dbe1b (patch)
tree946aced4ba5fbd5fdb1d74efb9d09e8dae0790ec /layouts/posts
parent6f864b437d6f43c1b30aadf1acad93f7b73e20f2 (diff)
downloadhermit-efb0b592a0072ce69be4b8afdfc859d5ae5dbe1b.tar.gz
Put comments into a partial
* Also removed unnecessary Disqus style (didn't regenerate resources)
Diffstat (limited to 'layouts/posts')
-rw-r--r--layouts/posts/single.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index c84c50c..a748b95 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -50,11 +50,9 @@
</a>
{{- end }}
</div>
- {{- if .Site.DisqusShortname }}
- <div id="disqus" class="thin">
- {{ template "_internal/disqus.html" . }}
+ <div id="comments" class="thin">
+ {{ partial "comments.html" . }}
</div>
- {{- end }}
</main>
{{ end }}