diff options
Diffstat (limited to 'site.hs')
-rw-r--r-- | site.hs | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -27,14 +27,11 @@ main :: IO () main = hakyllWith config $ do tags <- buildTags "posts/*.markdown" (fromCapture "tags/*.html") - match "css/*" $ do - route idRoute - compile compressCssCompiler - match ( "js/libs/*" .||. "js/hyphenator/*" .||. "js/hyphenator/patterns/*" .||. "js/*" + .||. "css/*.woff" .||. "downies/*" .||. "downies/music/*" .||. "images/*" @@ -46,6 +43,10 @@ main = hakyllWith config $ do route idRoute compile copyFileCompiler + match "css/*" $ do + route idRoute + compile compressCssCompiler + -- place static markdown files in site root match ( "static/*.markdown" .||. "static/*/*.markdown" ) $ do route $ setExtension "html" |