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