Skip to content

Commit

Permalink
feat: 添加评论功能
Browse files Browse the repository at this point in the history
  • Loading branch information
梁怀刚 committed Jul 12, 2024
1 parent 88fa3c5 commit 13b3497
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/theme/BlogPostPaginator/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from "react";
import BlogPostPaginator from "@theme-original/BlogPostPaginator";
import type BlogPostPaginatorType from "@theme/BlogPostPaginator";
import type { WrapperProps } from "@docusaurus/types";
import Gitalk from "@site/src/components/Gitalk";

type Props = WrapperProps<typeof BlogPostPaginatorType>;

export default function BlogPostPaginatorWrapper(props: Props): JSX.Element {
return (
<>
<BlogPostPaginator {...props} />
<Gitalk />
</>
);
}

0 comments on commit 13b3497

Please sign in to comment.