2010-01-14 19:46:08 +00:00
|
|
|
import Text.Hakyll (hakyll, defaultHakyllConfiguration)
|
2009-12-29 18:09:11 +00:00
|
|
|
import Text.Hakyll.File (directory)
|
|
|
|
import Text.Hakyll.Render (css, static, renderChain)
|
|
|
|
import Text.Hakyll.Renderables (createPagePath)
|
|
|
|
|
2010-01-14 19:46:08 +00:00
|
|
|
main = hakyll defaultHakyllConfiguration $ do
|
2009-12-29 18:09:11 +00:00
|
|
|
directory css "css"
|
|
|
|
render "about.markdown"
|
|
|
|
render "index.markdown"
|
|
|
|
render "products.markdown"
|
|
|
|
where render = renderChain ["templates/default.html"] . createPagePath
|