What is a good way to get analytics and comments in such a set up ?
That page is geared towards GitHub Pages\Jekyll, however a number of the solutions are SSG agnostic.
https://github.com/aioobe/dead-simple-jekyll-comments
https://infominer.id/web-work/posts/github-pages-starter-pac...
Comments I'm not entirely sure of, because I never wanted them on my site in the first place!