hakyll/examples/brochure/hakyll.hs
2009-12-29 19:09:11 +01:00

11 lines
371 B
Haskell

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.markdown"
render "index.markdown"
render "products.markdown"
where render = renderChain ["templates/default.html"] . createPagePath