Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jpescador/hugo-future-imperfect.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSahil Ahuja <sahilahuja@gmail.com>2017-10-24 16:35:05 +0300
committerPatrick Collins <thepatrickcollins@gmail.com>2017-10-24 16:35:05 +0300
commitff3decdfc5970bacdc45b0d3e2389aeec9c7a523 (patch)
treeb4be37948dc87c478d1349552aa6589da0eff5e9
parenta9653ee2465e1cd40c7e5810116ed70ce2634ea8 (diff)
Fixing disqus comments (#69)
* Fixing disqus comments * Moving comments outside of <article />
-rw-r--r--layouts/post/comments.html8
-rw-r--r--layouts/post/content-single.html2
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" }}