mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
16 lines
619 B
HTML
16 lines
619 B
HTML
{{ if .Site.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.DisqusShortname }}.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 }} |