add param commentOnAllPosts
This commit is contained in:
parent
cbfde610e7
commit
6ff9489f84
3 changed files with 18 additions and 13 deletions
|
@ -36,16 +36,17 @@
|
|||
{{ partial "mermaid.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if and .Params.comment (eq .Site.Params.comment "disqus")}}
|
||||
{{ partial "disqus.html" . }}
|
||||
{{ end }}
|
||||
{{ if and .Site.Params.commentOnAllPosts (ne .Params.comment false) }}
|
||||
{{ if eq .Site.Params.comment "disqus"}}
|
||||
{{ partial "disqus.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if and .Params.comment (eq .Site.Params.comment "ovo")}}
|
||||
{{ partial "ovo.html" . }}
|
||||
{{ end }}
|
||||
{{ if eq .Site.Params.comment "ovo"}}
|
||||
{{ partial "ovo.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if and .Params.comment (eq .Site.Params.comment "utterances")}}
|
||||
{{ partial "utterances.html" . }}
|
||||
{{ if eq .Site.Params.comment "utterances"}}
|
||||
{{ partial "utterances.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue