From 20cea69f4ce9dae3c4900c97f3f936c74ecb8a6d Mon Sep 17 00:00:00 2001
From: Valentin Popov <info@valentineus.link>
Date: Sun, 30 Sep 2018 07:40:37 +0400
Subject: Change of connected comments

Signed-off-by: Valentin Popov <info@valentineus.link>
---
 _includes/disqus.html | 18 ------------------
 _layouts/post.html    |  6 ++++--
 2 files changed, 4 insertions(+), 20 deletions(-)
 delete mode 100644 _includes/disqus.html

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>
-- 
cgit v1.2.3