summaryrefslogtreecommitdiff
path: root/site.hs
diff options
context:
space:
mode:
Diffstat (limited to 'site.hs')
-rw-r--r--site.hs9
1 files changed, 5 insertions, 4 deletions
diff --git a/site.hs b/site.hs
index d0a6272..f854817 100644
--- a/site.hs
+++ b/site.hs
@@ -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"