More on what github does with passed "Accept:" media types here:
Also for a public repo sticherd[0] (Disclaimer: I am the author) can pull the content from github and inject it onto the page server side. Also not static, but has caching and no need for JS.
Soupault or even Hugo can pull remote content as well.
[0] https://stitcherd.vhodges.dev/ && https://github.com/vhodges/stitcherdThat's an interesting project, I'll add it to the readme of Riss.
[0]: https://github.com/captn3m0/captn3m0.github.com/blob/master/...
[1]: https://github.com/captn3m0/captn3m0.github.com/blob/master/...
[2]: https://github.com/captn3m0/captn3m0.github.com/blob/master/...