Moved blog from Pico to a Gulp static generator
2/10/19 by Mark McDermott
Friday I built this blog in Pico, but then yesterday and today I rebuilt it using a static blog generator built by Anton Fisher that I found on Github. Pico uses markdown/Twig templates and compiles them to HTML on the server side in PHP when the page is called from a browser. The Fisher static blog generator precompiles markdown/Nunjuck templates in Node to HTML in Gulp. I figured I'd eliminate the server side load time, however fast it is, by preprocessing the templates to html. I'm not sure how fast PHP is compiling those Twig templates to HTML in Pico. It would be an interesting little performance benchmarking study to do at a later time.
Besides eliminating the server side load time, I also want a local Gulp workflow where I could have total control over how the markdown was parsed. Because I plan on making a lot of flashcards with some kind of modified markdown, I want to be able to be able to modify the markdown syntax with little hacks.