Skip to content

Commit

Permalink
giscus for comments
Browse files Browse the repository at this point in the history
  • Loading branch information
louisponet committed Jul 14, 2024
1 parent 4457ec6 commit 72a1d7a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ toc = true
use_cdn = false
favicon = "/icon/favicon.svg"
theme = "toggle" # light, dark, auto, toggle
comment = false
comment = true
mathjax = true
mathjax_dollar_inline_enable = true
fancy_code = true
Expand Down
15 changes: 15 additions & 0 deletions templates/_giscus_script.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<script src="https://giscus.app/client.js"
data-repo="louisponet/blog"
data-repo-id="R_kgDOL2wVKQ"
data-category="Announcements"
data-category-id="DIC_kwDOL2wVKc4Cfndy"
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="dark"
data-lang="en"
crossorigin="anonymous"
async>
</script>

0 comments on commit 72a1d7a

Please sign in to comment.