my website, hosted on wisp.place

fix: wrapper

maybe this will work!

+30 -20
+30 -20
src/layouts/Layout.astro
··· 65 65 </head> 66 66 <body class="prose"> 67 67 <Header /> 68 - <main><slot /></main> 69 - <div class="giscus"></div> 68 + <main> 69 + <section> 70 + <slot /> 71 + </section> 72 + <section class="giscus"></section> 73 + </main> 70 74 <Footer /> 71 75 </body> 72 76 </html> 73 77 74 - <script 75 - src="https://giscus.app/client.js" 76 - data-repo="intergrav/devins.page" 77 - data-repo-id="R_kgDONW1wiA" 78 - data-category="giscus" 79 - data-category-id="DIC_kwDONW1wiM4Cr7lb" 80 - data-mapping="pathname" 81 - data-strict="1" 82 - data-reactions-enabled="0" 83 - data-emit-metadata="0" 84 - data-input-position="bottom" 85 - data-theme="https://devins.page/sc-giscus.css" 86 - data-lang="en" 87 - data-loading="lazy" 88 - crossorigin="anonymous" 89 - async 90 - is:inline 91 - data-astro-rerun></script> 78 + <script is:inline data-astro-rerun> 79 + (function () { 80 + function loadGiscus() { 81 + var s = document.createElement("script"); 82 + s.src = "https://giscus.app/client.js"; 83 + s.async = true; 84 + s.crossOrigin = "anonymous"; 85 + s.setAttribute("data-repo", "intergrav/devins.page"); 86 + s.setAttribute("data-repo-id", "R_kgDONW1wiA"); 87 + s.setAttribute("data-category", "giscus"); 88 + s.setAttribute("data-category-id", "DIC_kwDONW1wiM4Cr7lb"); 89 + s.setAttribute("data-mapping", "pathname"); 90 + s.setAttribute("data-strict", "1"); 91 + s.setAttribute("data-reactions-enabled", "0"); 92 + s.setAttribute("data-emit-metadata", "0"); 93 + s.setAttribute("data-input-position", "bottom"); 94 + s.setAttribute("data-theme", "https://devins.page/sc-giscus.css"); 95 + s.setAttribute("data-lang", "en"); 96 + s.setAttribute("data-loading", "lazy"); 97 + document.body.appendChild(s); 98 + } 99 + loadGiscus(); 100 + })(); 101 + </script>