Fix comments validation
This commit is contained in:
parent
33bd6cadcf
commit
cd5751ef14
|
@ -1,6 +1,6 @@
|
|||
+++
|
||||
Description = ""
|
||||
Tags = ["Development", "golang"]
|
||||
Categories = ["Development", "GoLang"]
|
||||
menu = "main"
|
||||
description = ""
|
||||
tags = ["Development", "golang"]
|
||||
categories = ["Development", "GoLang"]
|
||||
draft = false
|
||||
+++
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{{ .Content }}
|
||||
</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>
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue