Generate a cabal file for the initialised site

Fixes #267