aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Dybiec <pawel@dybiec.info>2020-04-01 22:36:11 +0200
committerPaweł Dybiec <pawel@dybiec.info>2020-04-01 22:36:11 +0200
commitbbebb9b2c863d5911adcc93d885e6fc4d0ddbcfc (patch)
tree1166e14a7d16bea88e99f47844d5906b68e3d9bf
parent5b6cb1dd7da878a86e1d20358985270222c9730c (diff)
Add support for static files
-rw-r--r--site.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/site.hs b/site.hs
index 3030101..7abbee7 100644
--- a/site.hs
+++ b/site.hs
@@ -11,9 +11,10 @@ main = hakyll $ do
route idRoute
compile copyFileCompiler
- {- match "css/*" $ do
+ match "static/*" $ do
route idRoute
- compile compressCssCompiler -}
+ compile copyFileCompiler
+
match "css/*" $ compile compressCssCompiler
create ["style.css"] $ do
route idRoute