Chapter 5 - Metalsmith and the static site
By John Lenz. .
Check back later, I am still writing this. The summary is to use metalsmith and webpack to manage a static site, consisting of information pages, the HTML file which hosts the GHCJS app, and a metalsmith plugin which copies the output from GHCJS into the static site.