popov.link/_includes/disqus.html
Valentin Popov eddaefbae1
Fixed HTML validation errors
Signed-off-by: Valentin Popov <info@valentineus.link>
2019-05-03 17:39:31 +04:00

17 lines
693 B
HTML

<div id="disqus_thread"></div>
<script 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 | 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>