Using type=page for comments too
This commit is contained in:
parent
350f4a8e02
commit
3e553102fc
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
{{ end }}
|
||||
|
||||
|
||||
{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (.Site.Params.comments)) }}
|
||||
{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (and .Site.Params.comments (ne .Params.type "page"))) }}
|
||||
{{ if .Site.DisqusShortname }}
|
||||
<div class="disqus-comments">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue