Skip to content

Commit

Permalink
feat: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shlu committed Dec 23, 2024
1 parent 77e0cc9 commit bd587a9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,22 @@ <h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>

{{ content }}

<script src="https://giscus.app/client.js"
data-repo="xpko/xpko.github.io"
data-repo-id="MDEwOlJlcG9zaXRvcnkyNzM0NTQzNjk="
data-category="[ENTER CATEGORY NAME HERE]"
data-category-id="[ENTER CATEGORY ID HERE]"
data-mapping="pathname"
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>

{% if site.github.private != true and site.github.license %}
<div class="footer border-top border-gray-light mt-5 pt-3 text-right text-gray">
This site is open source. {% github_edit_link "Improve this page" %}.
Expand Down

0 comments on commit bd587a9

Please sign in to comment.