blob: b2606ba87c16637582f24cebc18c9aab38272c15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
|