Skip to content

Commit

Permalink
Add giscus as comment sys
Browse files Browse the repository at this point in the history
  • Loading branch information
169 committed Nov 30, 2023
1 parent 9826292 commit a286b45
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/partials/BlogPost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ const BlogPost = (props: IBlogPostProps) => (
<PostHeader content={props.frontmatter} author={AppConfig.author} />

<PostContent content={props.frontmatter}>{props.children}</PostContent>

<script src="https://giscus.app/client.js"
data-repo="169/169.github.io"
data-repo-id="R_kgDOKyYnfg"
data-category="General"
data-category-id="DIC_kwDOKyYnfs4CbYd8"
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="en"
crossorigin="anonymous"
async>
</script>
</Section>
);

Expand Down

0 comments on commit a286b45

Please sign in to comment.