Fix comments validation
This commit is contained in:
parent
33bd6cadcf
commit
cd5751ef14
|
@ -1,6 +1,6 @@
|
||||||
+++
|
+++
|
||||||
Description = ""
|
description = ""
|
||||||
Tags = ["Development", "golang"]
|
tags = ["Development", "golang"]
|
||||||
Categories = ["Development", "GoLang"]
|
categories = ["Development", "GoLang"]
|
||||||
menu = "main"
|
draft = false
|
||||||
+++
|
+++
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ if (and .Site.DisqusShortname (eq .Params.DisableComments false)) -}}
|
{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
|
||||||
<h2>Comments</h2>
|
<h2>Comments</h2>
|
||||||
{{ template "_internal/disqus.html" . }}
|
{{ template "_internal/disqus.html" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue