Overview

Hakyll is a Haskell library for generating static sites, mostly aimed at small-to-medium sites and personal blogs. It is written in a very configurable way and uses an xmonad-like DSL for configuration.

Why static site generators?

  • Static sites are extremely fast.
  • You don’t have to worry about security issues.

Features of Hakyll

  • Integration with pandoc gives us markdown and TeX support, including syntax highlighting and other goodies.
  • An easy templating system.
  • Hakyll also features a simple http server for previewing your site.

See some examples

Some sites written in Hakyll:

Getting Started

You can get the latest version from hackage using cabal install hakyll. I have written a few tutorials, and reading them is highly recommended if you want to get started with hakyll. Also, there are a few examples available in the github repo, including this site. For any questions you might have, there is also a google discussion group.