Fix comments validation

This commit is contained in:
Alexandre Vicenzi 2020-06-15 22:08:36 +02:00
parent 33bd6cadcf
commit cd5751ef14
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
+++ +++
Description = "" description = ""
Tags = ["Development", "golang"] tags = ["Development", "golang"]
Categories = ["Development", "GoLang"] categories = ["Development", "GoLang"]
menu = "main" draft = false
+++ +++

View File

@ -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 }}