mirror of
https://github.com/Ad-closeNN/blog-fuwari.git
synced 2026-05-31 02:00:05 -04:00
docs(pages): 将 Giscus 评论插件添加到博客
2. fix(config): 修复特殊日期判断失败的问题 3. feat(giscus): 加入 Giscus 评论系统
This commit is contained in:
@@ -22,4 +22,23 @@ const { Content } = await render(aboutPost);
|
||||
</Markdown>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<!-- 评论区 -->
|
||||
<script src="https://giscus.app/client.js"
|
||||
data-repo="Ad-closeNN/blog-friends"
|
||||
data-repo-id="R_kgDOPb5ZJw"
|
||||
data-category="General"
|
||||
data-category-id="DIC_kwDOPb5ZJ84CuPmR"
|
||||
data-mapping="title"
|
||||
data-strict="0"
|
||||
data-reactions-enabled="1"
|
||||
data-emit-metadata="0"
|
||||
data-input-position="top"
|
||||
data-theme="preferred_color_scheme"
|
||||
data-lang="zh-CN"
|
||||
data-loading="lazy"
|
||||
crossorigin="anonymous"
|
||||
async>
|
||||
</script>
|
||||
</MainGridLayout>
|
||||
@@ -22,4 +22,20 @@ const { Content } = await render(aboutPost);
|
||||
</Markdown>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://giscus.app/client.js"
|
||||
data-repo="Ad-closeNN/blog-friends"
|
||||
data-repo-id="R_kgDOPb5ZJw"
|
||||
data-category="General"
|
||||
data-category-id="DIC_kwDOPb5ZJ84CuPmR"
|
||||
data-mapping="title"
|
||||
data-strict="0"
|
||||
data-reactions-enabled="1"
|
||||
data-emit-metadata="0"
|
||||
data-input-position="top"
|
||||
data-theme="preferred_color_scheme"
|
||||
data-lang="zh-CN"
|
||||
data-loading="lazy"
|
||||
crossorigin="anonymous"
|
||||
async>
|
||||
</script>
|
||||
</MainGridLayout>
|
||||
@@ -150,5 +150,22 @@ const customcover = entry.data.customcover;
|
||||
</div>}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</MainGridLayout>
|
||||
|
||||
<!-- 评论区 -->
|
||||
<script src="https://giscus.app/client.js"
|
||||
data-repo="Ad-closeNN/blog-friends"
|
||||
data-repo-id="R_kgDOPb5ZJw"
|
||||
data-category="General"
|
||||
data-category-id="DIC_kwDOPb5ZJ84CuPmR"
|
||||
data-mapping="title"
|
||||
data-strict="0"
|
||||
data-reactions-enabled="1"
|
||||
data-emit-metadata="0"
|
||||
data-input-position="top"
|
||||
data-theme="preferred_color_scheme"
|
||||
data-lang="zh-CN"
|
||||
data-loading="lazy"
|
||||
crossorigin="anonymous"
|
||||
async>
|
||||
</script>
|
||||
</MainGridLayout>
|
||||
Reference in New Issue
Block a user