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 = ""
Tags = ["Development", "golang"]
Categories = ["Development", "GoLang"]
menu = "main"
description = ""
tags = ["Development", "golang"]
categories = ["Development", "GoLang"]
draft = false
+++

View File

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