aboutsummaryrefslogtreecommitdiff
path: root/_includes/disqus.html
blob: b6973a28d5487d131d5db3463e914e490a7510da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<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>