diff --git a/src/components/composite/giscus.astro b/src/components/composite/giscus.astro new file mode 100644 index 00000000..8e35fc34 --- /dev/null +++ b/src/components/composite/giscus.astro @@ -0,0 +1,17 @@ + diff --git a/src/pages/post/[...slug].astro b/src/pages/post/[...slug].astro index 0468e3d1..bdb97ce4 100644 --- a/src/pages/post/[...slug].astro +++ b/src/pages/post/[...slug].astro @@ -18,6 +18,7 @@ import Picture from "@components/mdx/image.astro"; import { PAGE_SIZE, renderDate } from "@lib/util"; import Pre from "@components/mdx/pre.astro"; import Tags from "@components/composite/tags.astro"; +import Giscus from "@components/composite/giscus.astro"; export const getStaticPaths = (async () => { const collection = await getCollection("post"); @@ -102,6 +103,7 @@ const pageIndex = ol: OrderedList, }} /> +