Comment System
Comment system for pages at the bottom
Waline Comment System#
The theme’s comment, read statistics, likes, and other functionalities are all provided by Waline ↗.
Deploy#
You can refer to its documentation for configuration, and it is recommended to use the Vercel ↗ + Supabase ↗ combination.
Configuration#
Then you can configure the Waline comment system in the integrationConfig.server
.
src/site.config.ts
export const integrationConfig: IntegrationConfig = {
// ...
waline: {
// Comment system service link (no link to disable)
server: 'https://astro-theme-pure-waline.arthals.ink/',
// Refer https://waline.js.org/en/guide/features/emoji.html
emoji: ['bmoji', 'weibo'],
// Refer https://waline.js.org/en/reference/client/props.html
additionalConfigs: {
pageview: true,
comment: true
// ...
}
}
}
tsUsage#
You can call it manually in .astro
or .mdx
files.
import { Comment } from '@/components/advanced'
;<Comment />
jsxRender:
Comment seems to stuck. Try to refresh?✨
See more docs