feat: add comment system

This commit is contained in:
radishzzz 2025-03-06 23:06:38 +00:00
parent c2ebc78045
commit eabd33f339
6 changed files with 50 additions and 11 deletions

View file

@ -1,5 +1,5 @@
---
import Waline from '@/components/Comments/Waline.astro'
import Comments from '@/components/Comments/index.astro'
import Layout from '@/layouts/Layout.astro'
import { checkSlugDuplication } from '@/utils/content'
import { generatePostPaths } from '@/utils/i18n'
@ -66,5 +66,5 @@ const { Content, remarkPluginFrontmatter } = await post.render()
)}
</article>
<Waline />
<Comments />
</Layout>