diff options
-rw-r--r-- | layouts/_default/single.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 5dbe531..67f023c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -21,6 +21,8 @@ {{ .Content }} </section> <footer> + {{ if (isset .Params "nocomments") }} + {{ else }} {{ with .Site.Params.disqus }} <hr/> <div id="disqus_thread"></div> @@ -34,6 +36,7 @@ </script> <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> {{ end }} + {{ end }} <section class="author-info row"> <div class="author-avatar col-md-2"> {{ with .Site.Params.avatar }} |