cupper-hugo-theme/layouts/partials/disqus-js-main.js
2019-03-07 14:13:56 -06:00

10 lines
279 B
JavaScript

// Config
var disqus_config = function () {
};
// Build and append comments
var d = document;
var s = d.createElement('script');
s.async = true;
s.src = '//' + "{{ . }}" + '.disqus.com/embed.js';
s.setAttribute('data-timestamp', + new Date());
(d.head || d.body).appendChild(s);