diff --git a/src/components/misc/Comments.astro b/src/components/misc/Comments.astro new file mode 100644 index 0000000..51cdf5f --- /dev/null +++ b/src/components/misc/Comments.astro @@ -0,0 +1,51 @@ +--- +// Giscus comments component — powered by GitHub Discussions +// https://giscus.app +--- +
+ +
+ + diff --git a/src/pages/posts/[...slug].astro b/src/pages/posts/[...slug].astro index 2079efd..6b5b5c3 100644 --- a/src/pages/posts/[...slug].astro +++ b/src/pages/posts/[...slug].astro @@ -1,6 +1,7 @@ --- import path from "node:path"; import License from "@components/misc/License.astro"; +import Comments from "@components/misc/Comments.astro"; import Markdown from "@components/misc/Markdown.astro"; import I18nKey from "@i18n/i18nKey"; import { i18n } from "@i18n/translation"; @@ -108,6 +109,8 @@ const jsonLd = { {licenseConfig.enable && } + +