aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_includes/disqus.html18
-rw-r--r--_layouts/post.html6
2 files changed, 4 insertions, 20 deletions
diff --git a/_includes/disqus.html b/_includes/disqus.html
deleted file mode 100644
index e87f39d..0000000
--- a/_includes/disqus.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<div class="comments">
- <div id="disqus_thread"></div>
- <script defer type="text/javascript">
- var disqus_config = function () {
- this.page.identifier = '{{ page.id | strip_newlines | strip_html | strip | normalize_whitespace | slugify }}';
- this.page.title = '{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}';
- this.page.url = '{{ page.url | strip_newlines | strip_html | strip | normalize_whitespace | absolute_url | uri_escape }}';
- };
-
- (function () {
- var d = document,
- s = d.createElement('script');
- s.src = '//valentineus-link.disqus.com/embed.js';
- s.setAttribute('data-timestamp', +new Date());
- (d.head || d.body).appendChild(s);
- })();
- </script>
-</div>
diff --git a/_layouts/post.html b/_layouts/post.html
index ece8fe4..ce0edcb 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -29,5 +29,7 @@ layout: default
</section>
<!-- Comments -->
- {% include disqus.html %}
-</article> \ No newline at end of file
+ <section>
+ {% include comments.html %}
+ </section>
+</article>