hakyll/examples/brochure/hakyll.hs

14 lines
385 B
Haskell
Raw Normal View History

import Text.Hakyll (hakyll)
2009-12-29 18:09:11 +00:00
import Text.Hakyll.File (directory)
import Text.Hakyll.Render (css, static, renderChain)
import Text.Hakyll.CreateContext (createPage)
2009-12-29 18:09:11 +00:00
main = hakyll "http://example.com" $ do
2009-12-29 18:09:11 +00:00
directory css "css"
render "about.rst"
2009-12-29 18:09:11 +00:00
render "index.markdown"
render "code.lhs"
where
render = renderChain ["templates/default.html"]
. createPage