diff options
| author | Valentin Popov <info@valentineus.link> | 2018-09-30 06:40:37 +0300 | 
|---|---|---|
| committer | Valentin Popov <info@valentineus.link> | 2018-09-30 06:40:37 +0300 | 
| commit | 20cea69f4ce9dae3c4900c97f3f936c74ecb8a6d (patch) | |
| tree | 2be810ea830ca665baea6813210ddc997906dbdb | |
| parent | 5659edfb8eb8c3b1c3aca4eb5b1a46c4e65ce9a5 (diff) | |
| download | popov.link-20cea69f4ce9dae3c4900c97f3f936c74ecb8a6d.tar.xz popov.link-20cea69f4ce9dae3c4900c97f3f936c74ecb8a6d.zip | |
Change of connected comments
Signed-off-by: Valentin Popov <info@valentineus.link>
| -rw-r--r-- | _includes/disqus.html | 18 | ||||
| -rw-r--r-- | _layouts/post.html | 6 | 
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> | 
