blob: 66fb3696fdc3d87aa556fbd9e49ee733acbb9e29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{{ if .Site.Params.DisqusShortname }}
<section id="disqus_thread" class='disqus'></section>
<script>
var disqus_config = function () {
this.page.url = {{ .Permalink }};
// this.page.identifier = PAGE_IDENTIFIER;
};
(function() {
var d = document, s = d.createElement('script');
s.src = '//{{ .Site.Params.DisqusID }}.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
{{ end }}
|