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