Hakyll, a static site generator in Haskell


cabal update cabal install -j hakyll

Starting a new blog

hakyll-init blog

Generating the site

$ cd blog $ ghc --make -threaded site.hs
$ ./site build
$ ./site watch

Check it all in to git

_cache site site.hi site.o
git init git add . git commit -m 'initial commit of blog'

Add Bitbucket as a remote

git remote add origin git@bitbucket.org:BITBUCKET-USERNAME/REPONAME.git

Deploy your site via Aerobatic

Hooray for Haskell! Your site is hosted!



Coding and Teaching Functional Web Development, Entrepreneurship, and Sustainability. Crazy about Standup Paddleboarding.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store