Writing a Static Site Generator in Shake
2020-06-28
category: tech
tags: Haskell
Today I’m working on porting nippo to Shake. Track my progress here: mt-caret/suimin
Pandoc’s template language is simple enough that it’s relatively straightforward to implement what you want. I like it.
Took me a while to find stringify :: [Inline] -> String
, but after that, adding an atom feed was a breeze: https://github.com/mt-caret/suimin/blob/e4ce8b41273bbcf5d5d7c82b637b3627e988ee82/Shakefile.hs#L140-L149