Holy shit, what a bunch of nonsense suggestions! SGML, React, S3?
You just put the whole thing behind an nginx (which it likely already is), and have it serve up the static content from a local filesystem, while routing your dynamic stuff however needed.