diff options
author | Sahil Ahuja <sahilahuja@gmail.com> | 2017-10-24 16:35:05 +0300 |
---|---|---|
committer | Patrick Collins <thepatrickcollins@gmail.com> | 2017-10-24 16:35:05 +0300 |
commit | ff3decdfc5970bacdc45b0d3e2389aeec9c7a523 (patch) | |
tree | b4be37948dc87c478d1349552aa6589da0eff5e9 | |
parent | a9653ee2465e1cd40c7e5810116ed70ce2634ea8 (diff) |
Fixing disqus comments (#69)
* Fixing disqus comments
* Moving comments outside of <article />
-rw-r--r-- | layouts/post/comments.html | 8 | ||||
-rw-r--r-- | layouts/post/content-single.html | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/layouts/post/comments.html b/layouts/post/comments.html index bdea945..81ab9fb 100644 --- a/layouts/post/comments.html +++ b/layouts/post/comments.html @@ -1,9 +1,7 @@ {{ if ne .Site.DisqusShortname "" }} - {{ if not (in (printf "%#v" .Site.BaseURL) "localhost") }} - <article class="post"> - {{ template "_internal/disqus.html" . }} - </article> - {{ end }} + <article class="post"> + {{ template "_internal/disqus.html" . }} + </article> {{ else if .Site.Params.staticman.staticman }} <article class="post"> {{ .Render "staticman" }} diff --git a/layouts/post/content-single.html b/layouts/post/content-single.html index b047740..65b7859 100644 --- a/layouts/post/content-single.html +++ b/layouts/post/content-single.html @@ -17,5 +17,7 @@ <footer> {{ .Render "footer-category" }} </footer> + </article> +{{ .Render "comments" }} {{ .Render "prev-next" }} |