3 ms·
I wanted comments on my blog/website (maybe more as an academic exercise than on the expectation that someone would actually comment) but wanted to keep it as l
by maybevain 6y ago
I wanted comments on my blog/website (maybe more as an academic exercise than on the expectation that someone would actually comment) but wanted to keep it as low-maintenance and dependency free as possible. As the site is build with a static site generator (Zola), it would need to be an SSG friendly system.
The code is already hosted on Github, so I created a separate repo for the comments where each post would get an issue. Zola will pull all the comments on each issue on built time and embed them on the respective blog pages. A webhook on the repo will trigger a built when a new comment is made.
Can't say this system is battle tested yet, as there's been nary a comment posted, save for the couple test ones by me...