3 ms·
I put together something like this with PHP, like how I did websites in ancient times with SSI[1], but it output a static site. It never occurred to me I could
by Kye 6y ago
I put together something like this with PHP, like how I did websites in ancient times with SSI[1], but it output a static site. It never occurred to me I could just cat them.
I could even still use PHP or any language to generate some components and just cat the output with the others into one file. That would help people who prefer to write in markdown. Just run it through a markdown->HTML converter and output it to a file with header and footer included.
[1] https://en.wikipedia.org/wiki/Server_Side_Includes https://en.wikipedia.org/wiki/Server_Side_Includes