blob: a74bee1f318ee545a8e7534bce7b87307eef3d63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import Text.Hakyll (hakyll)
import Text.Hakyll.File (directory)
import Text.Hakyll.Render (css, static, renderChain)
import Text.Hakyll.CreateContext (createPage)
main = hakyll "http://example.com" $ do
directory css "css"
render "about.rst"
render "index.markdown"
render "code.lhs"
where
render = renderChain ["templates/default.html"]
. createPage
|