Revises commenting.html

This commit is contained in:
Huy Tran 2018-07-05 12:20:53 +10:00
parent 2e7321205c
commit a7a9d46f4f

View file

@ -1,9 +1,14 @@
<!-- Disqus-->
{{ if .Site.DisqusShortname -}}
{{ if ne .Params.showcomments false }}
<hr>
<h2>Comments</h2>
{{ partial "commenting_disqus.html" . }}
{{ end }}
{{ else if .Site.Params.GraphCommentId -}}
{{ if ne .Params.showcomments false }}
<hr>
<h2>Comments</h2>
{{ partial "commenting_graph.html" . }}
{{ end }}
{{- end }}