Skip to content

Commit f6490ce

Browse files
committed
feat(blog): giscus 댓글 기능 추가
1 parent e27f030 commit f6490ce

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

config/_default/params.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ forgejoDefaultServer = "https://v11.next.forgejo.org"
9494
# sharingLinks = [ "linkedin", "twitter", "bluesky", "mastodon", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram", "line"]
9595
showZenMode = false
9696
# externalLinkForceNewTab = false # disable to allow external links in the same tab (defaults to true)
97+
showComments = true
9798

9899
[list]
99100
showHero = false

layouts/partials/comments.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<script src="https://giscus.app/client.js"
2+
data-repo="devmeeple/devmeeple.github.io"
3+
data-repo-id="R_kgDOLZf5oA"
4+
data-category="Announcements"
5+
data-category-id="DIC_kwDOLZf5oM4Chwui"
6+
data-mapping="pathname"
7+
data-strict="0"
8+
data-reactions-enabled="1"
9+
data-emit-metadata="0"
10+
data-input-position="bottom"
11+
data-theme="preferred_color_scheme"
12+
data-lang="ko"
13+
crossorigin="anonymous"
14+
async>
15+
</script>

0 commit comments

Comments
 (0)