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--> <!-- Disqus-->
{{ if .Site.DisqusShortname -}} {{ if .Site.DisqusShortname -}}
{{ if ne .Params.showcomments false }} {{ if ne .Params.showcomments false }}
<hr>
<h2>Comments</h2> <h2>Comments</h2>
{{ partial "commenting_disqus.html" . }} {{ partial "commenting_disqus.html" . }}
{{ end }} {{ end }}
{{ else if .Site.Params.GraphCommentId -}} {{ else if .Site.Params.GraphCommentId -}}
{{ partial "commenting_graph.html" . }} {{ if ne .Params.showcomments false }}
<hr>
<h2>Comments</h2>
{{ partial "commenting_graph.html" . }}
{{ end }}
{{- end }} {{- end }}