hakyll/examples/brochure/hakyll.hs

12 lines
371 B
Haskell
Raw Normal View History

2009-12-29 18:09:11 +00:00
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