12 lines
371 B
Haskell
12 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
|