News for hackers. Stuff that matters.
Re:How to Start Your Blog in 2023 by kblev on Monday February 20, 2023 @10:13AM (#34868820)
Is there a way for SSGs to support viewer comments?
Re:How to Start Your Blog in 2023 by lloydatkinson on Monday February 20, 2023 @10:41AM (#34869135)
With something like Astro you can use React (or others, even vanilla) components that can either be fully server rendered, or sent to the client. With that you can allow people to post comments. As for how to render them, depends a bit on what you decide. You can either have comments displayed the next time the site is built, or you could have a posted comment trigger a build, or some other similar idea.
Re:How to Start Your Blog in 2023 by sphars on Monday February 20, 2023 @11:05AM (#34869394)
There's a good resource of available commenting systems for static sites here (not mine): https://darekkay.com/blog/static-site-comments/
Re:How to Start Your Blog in 2023 by darekkay on Monday February 20, 2023 @05:14PM (#34873667)
Thanks for posting! I update that blog post regularly to keep up with all the possibilities. Ironically, I decided to remove the comments from my own blog a few years ago. Comments still reach me, though, mostly via email.
Re:How to Start Your Blog in 2023 by jrmg on Monday February 20, 2023 @02:10PM (#34871565)
I’m a fan of Isso: https://isso-comments.de/