My personal site
Haskell CSS Shell Python HTML JavaScript Awk
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
fonts
images
posts
src
templates
tools
.gitignore
.travis.yml
blog.cabal
licence
readme.md
requirements.txt
stack.yaml

readme.md

Blog

This is the source code for my personal site. It is a static site generated by a homemade generator written 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.

This is version three of my blog. Previously I used Hakyll (available in the archived-hakyll branch), and before that I used Jekyll.

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

Install Python requirements (for font subsetting) in a virtualenv:

$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

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

$ stack setup
$ stack build
$ stack exec blog