Skip to content

Commit e146781

Browse files
feat: switch to giscus
1 parent 97c8944 commit e146781

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

src/layouts/PostDetails.astro

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,23 @@ const ogUrl = new URL(
5656
<ul class="tags-container">
5757
{tags.map(tag => <Tag name={slugifyStr(tag)} />)}
5858
</ul>
59-
<script src="https://utteranc.es/client.js"
60-
repo="willtheorangeguy/willtheorangeguy.github.io"
61-
issue-term="title"
62-
label="blog-comments"
63-
theme="github-dark-orange"
64-
crossorigin="anonymous"
65-
async>
66-
</script>
59+
<br>
60+
<script src="https://giscus.app/client.js"
61+
data-repo="willtheorangeguy/willtheorangeguy.github.io"
62+
data-repo-id="R_kgDOGHnPnA"
63+
data-category="Blog Comments"
64+
data-category-id="DIC_kwDOGHnPnM4ClLlc"
65+
data-mapping="title"
66+
data-strict="1"
67+
data-reactions-enabled="1"
68+
data-emit-metadata="1"
69+
data-input-position="top"
70+
data-theme="preferred_color_scheme"
71+
data-lang="en"
72+
data-loading="lazy"
73+
crossorigin="anonymous"
74+
async>
75+
</script>
6776
</main>
6877
<Footer />
6978
</Layout>

0 commit comments

Comments
 (0)