feat: add disqus comment count injection to asp page

This commit is contained in:
Oliver Booth 2023-08-10 15:15:36 +01:00
parent 42af5ebcdd
commit f3ad04ff1f
Signed by: oliverbooth
GPG Key ID: 725DB725A0D9EE61
2 changed files with 3 additions and 6 deletions

View File

@ -38,4 +38,6 @@
</p>
{{/if}}
</div>
</script>
</script>
<script id="dsq-count-scr" src="https://oliverbooth-dev.disqus.com/count.js" async></script>

View File

@ -47,11 +47,6 @@ declare const Handlebars: any;
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();
const spinner = document.querySelector("#blog-loading-spinner");