Skip to content

Commit 7abb25f

Browse files
committed
add giscus
1 parent c54cc77 commit 7abb25f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/pages/blog/[slug].astro

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,21 @@ const ogImageAbsoluteUrl =
5050
/>
5151
<Renderer content={content} slot="content" />
5252
</ContentLayout>
53+
54+
<!-- Comments -->
55+
<div class="giscus"></div>
56+
<script src="https://giscus.app/client.js"
57+
data-repo="nemanjam/nemanjam.github.io"
58+
data-repo-id="R_kgDOKc-LeA"
59+
data-category="General"
60+
data-category-id="DIC_kwDOKc-LeM4CZ7UL"
61+
data-mapping="pathname"
62+
data-strict="0"
63+
data-reactions-enabled="1"
64+
data-emit-metadata="0"
65+
data-input-position="bottom"
66+
data-theme="preferred_color_scheme"
67+
data-lang="en"
68+
crossorigin="anonymous"
69+
async>
70+
</script>

0 commit comments

Comments
 (0)