Change of connected comments

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-09-30 07:40:37 +04:00
parent 5659edfb8e
commit 20cea69f4c
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 20 deletions

View File

@ -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>

View File

@ -29,5 +29,7 @@ layout: default
</section>
<!-- Comments -->
{% include disqus.html %}
<section>
{% include comments.html %}
</section>
</article>