添加Giscus评论

This commit is contained in:
afoim
2025-05-02 00:26:41 +08:00
parent 9472df001a
commit e2bed86599

View File

@@ -104,6 +104,25 @@ const jsonLd = {
<Content />
</Markdown>
<!-- Giscus 评论区 -->
<div class="mb-6 rounded-xl card-base overflow-hidden">
<script src="https://giscus.app/client.js"
data-repo="afoim/giscus-fuwari"
data-repo-id="R_kgDOOi8quw"
data-category="Announcements"
data-category-id="DIC_kwDOOi8qu84CprDV"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
crossorigin="anonymous"
async>
</script>
</div>
{licenseConfig.enable && <License title={entry.data.title} slug={entry.slug} pubDate={entry.data.published} class="mb-6 rounded-xl license-container onload-animation"></License>}
</div>