cupper-hugo-theme/layouts/partials/disqus-js-main.js

10 lines
279 B
JavaScript
Raw Normal View History

// 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);