2 ms·
> you don't need any sort of server-side build process OP is already using a server-side build process to generate the static site. Inserting the HTML at the s
by danShumway 7y ago
> you don't need any sort of server-side build process
OP is already using a server-side build process to generate the static site. Inserting the HTML at the same time they built the site would add very little extra code to their build process, and nothing to their static hosting requirements.
If nothing else, would OP consider inserting a <noscript> tag in each generated index.html that linked to the raw Markdown in their Github repo?
- jefftk 7y agoAh, you're right: https://github.com/anderspitman/anderspitman.net/blob/master/gen_static https://github.com/anderspitman/anderspitman.net/blob/master... Yes, if you're going to have a build process, converting Markdown to HTML server-side makes a lot more sense.
- anderspitman 7y ago> OP is already using a server-side build process to generate the static site The site doesn't use any build process. The gen_static script was an experiment that I didn't make it very far with. I may eventually get back to that.