Code
Code is available on GitHub
The code is based on a Haskell blog framework called Hakyll, although there is a CSS processor entirely of my own design.
If you're interested in how it works, most of the guts are in four short files:
- site.hs
- contains the basic structure of the site. Hakyll 4 has finally removed all usage of the cumbersome arrows in its API, which are not my favorite abstraction for computation.
- cssTokenizer.hs and cssProcess.hs
- contain the custom CSS processor used to style the site. Since these files don't make any reference to the Hakyll framework, I was more free to write in a style I prefer. For cssProcess.hs I used SHE for the applicative idiom brackets. More syntactic sugar, please!
- frameless.scss
- includes the CSS used to style the site, heavily based on the "frameless grid" design concept by Joni Korpi