Fix error in autodiscovery
This commit is contained in:
parent
2d2756aa1f
commit
053715e436
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
{{ .Content }}
|
||||
</article>
|
||||
|
||||
{{ if ne .Params.Type "page" }}
|
||||
{{ if ne .Type "page" }}
|
||||
<ul class="pager blog-pager">
|
||||
{{ if .PrevInSection }}
|
||||
<li class="previous">
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
{{ end }}
|
||||
|
||||
|
||||
{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (and .Site.Params.comments (ne .Params.Type "page"))) }}
|
||||
{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (and .Site.Params.comments (ne .Type "page"))) }}
|
||||
{{ if .Site.DisqusShortname }}
|
||||
<div class="disqus-comments">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue