feat: add disqus comment count injection to asp page
This commit is contained in:
parent
42af5ebcdd
commit
f3ad04ff1f
|
@ -38,4 +38,6 @@
|
||||||
</p>
|
</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script id="dsq-count-scr" src="https://oliverbooth-dev.disqus.com/count.js" async></script>
|
|
@ -47,11 +47,6 @@ declare const Handlebars: any;
|
||||||
i += 4;
|
i += 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
const disqusCounter = document.createElement("script");
|
|
||||||
disqusCounter.id = "dsq-count-scr";
|
|
||||||
disqusCounter.src = "https://oliverbooth-dev.disqus.com/count.js";
|
|
||||||
disqusCounter.async = true;
|
|
||||||
|
|
||||||
UI.updateUI();
|
UI.updateUI();
|
||||||
|
|
||||||
const spinner = document.querySelector("#blog-loading-spinner");
|
const spinner = document.querySelector("#blog-loading-spinner");
|
||||||
|
|
Loading…
Reference in New Issue