/blog-old

Source code of a previous version of aminb.org

Primary LanguageHaskellGNU General Public License v3.0GPL-3.0

Blog

This is the source code for my personal site. It is based on a static site generator written by Ruud van Asseldonk in Haskell.

Build Status

"The generator includes a tiny templating engine, an html and css minifier, and an aggressive font subsetter. One of my objectives was to cut all the crap (which almost by definition includes javascript) without compromising on design. An average page of my site weighs less than jQuery alone (which jokingly describes itself as “lightweight footprint”). That includes webfonts." -- Ruud van Asseldonk

Previously I used Jekyll but have since migrated to this setup, a small homemade static site generator.

License

The source code for this site is licensed under version 3 of the the GNU General Public Licence. See the licence file. The content of the posts is licensed under the Creative Commons BY SA licence. For the font license details, see the readme in the fonts directory.

Compiling

Build the generator, then build the site (requires fonts to be present):

$ stack build
$ stack exec blog

Or compile with good old Cabal:

$ cabal update
$ cabal sandbox init
$ cabal install -j
$ cabal run