Waline Comments: Deploy & Integrate
Deploy the Waline server and enable comments/pageview in Axi Theme.
views
| comments
1. Deploy Waline Server#
Follow the full walkthrough (server deployment + config explanation):
After deployment, you should get a server URL, e.g.:
https://waline.example.com/txt2. Enable Waline in the Theme#
Edit src/site.config.ts:
integ.waline.enable: set totrueinteg.waline.server: your Waline Server URL
Example:
waline: {
enable: true,
server: 'https://waline.example.com/',
}ts3. Notes#
- Comment component:
src/components/advanced/Comment.astro - Pageview/comment count: some pages load Waline
pageviewstats (seesrc/pages/*) - Per-post toggle: frontmatter
comment(defaulttrue)