popov.link/_includes/disqus.html
Valentin Popov abd69b6b5e Comment Library
Signed-off-by: Valentin Popov <valentineus@gmail.com>
2018-04-07 09:18:53 +00:00

16 lines
597 B
HTML

<div id="disqus_thread"></div>
<script type="text/javascript" defer>
var disqus_config = function() {
this.page.identifier = '{{ page.id | slugify }}';
this.page.title = '{{ page.title | smartify | strip_html | normalize_whitespace }}';
this.page.url = '{{ page.url | 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>