From f3ad04ff1f43da38ef37ad63340ce8f2fa0c66c1 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Thu, 10 Aug 2023 15:15:36 +0100 Subject: [PATCH] feat: add disqus comment count injection to asp page --- OliverBooth/Pages/Blog/Index.cshtml | 4 +++- src/ts/app.ts | 5 ----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/OliverBooth/Pages/Blog/Index.cshtml b/OliverBooth/Pages/Blog/Index.cshtml index 2bd051a..dad690b 100644 --- a/OliverBooth/Pages/Blog/Index.cshtml +++ b/OliverBooth/Pages/Blog/Index.cshtml @@ -38,4 +38,6 @@

{{/if}} - \ No newline at end of file + + + \ No newline at end of file diff --git a/src/ts/app.ts b/src/ts/app.ts index bd003ff..edf7feb 100644 --- a/src/ts/app.ts +++ b/src/ts/app.ts @@ -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");