my website, hosted on wisp.place

fix: run giscus script once

+1
+1
src/components/Comments.astro
··· 2 2 <script> 3 3 function Comments() { 4 4 // the giscus stuff is a bit hacky but i have to do this so it works i have no idea why 5 + if (document.querySelector('iframe.giscus-frame')) return; 5 6 const script = document.createElement("script"); 6 7 script.src = "https://giscus.app/client.js"; 7 8 script.setAttribute("data-repo", "intergrav/devins.page");