Thank you for this demo. Preferably each post should have its own set of comments but the way you demonstrated same comments will be shared across all posts. I guess the getJson and JS fetch inside Hugo was the demo purpose though.
I get an Cross-Origin Resource Sharing error in dev console(I am using a cloudefare workers for getupdatedcomments function). Maybe I need to pass a token or set CORS. Hello I inlcuded this in my response header Access-Control-Allow-Origin': '*', works now THANSKs. Will change * to domainname when I deploy.