Fix error in autodiscovery

This commit is contained in:
Henry Fredrick Schreiner 2017-12-07 14:34:07 -05:00
commit 053715e436

View file

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