Hakyll is a static site generator library in Haskell. More information (including a tutorial) can be found on the hakyll homepage.
You can install this library using cabal:
cabal install hakyll
Or using stack:
stack install hakyll
hakyll-init
is a simple executable that can generate a sample site to get
started with. You can find it here.