diff options
author | rekado <rekado@elephly.net> | 2013-10-27 09:51:08 +0800 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2013-10-27 09:51:08 +0800 |
commit | 52402b139ce0eefd0284710d3efe67e95fa9c21a (patch) | |
tree | cb6ba9a0814509905f27fb0a5ecdb1dce657a4be | |
parent | 2824c31de150dff97b2118cde73b6b31e76153d9 (diff) |
add comments
-rw-r--r-- | site.hs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -45,12 +45,15 @@ main = hakyllWith config $ do route idRoute compile copyFileCompiler + -- place static markdown files in site root match ( "static/*.markdown" .||. "static/*/*.markdown" ) $ do - route $ setExtension "html" `composeRoutes` gsubRoute "static/" (const "") + route $ setExtension "html" + `composeRoutes` gsubRoute "static/" (const "") compile $ pandocCompiler >>= loadAndApplyTemplate "templates/default.html" defaultContext >>= relativizeUrls + -- place static html files in site root match "static/*.html" $ do route $ gsubRoute "static/" (const "") compile $ do |