diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Cooking.hs | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,3 @@ _cache -_site +public dist @@ -4,7 +4,7 @@ import Data.Monoid (mappend) import Hakyll main :: IO () -main = hakyll $ do +main = hakyllWith configuration $ do match "design/*.hs" $ do route $ setExtension "css" compile $ getResourceString >>= withItemBody (unixFilter "runghc" []) @@ -27,3 +27,9 @@ main = hakyll $ do >>= relativizeUrls match "templates/*" $ compile templateBodyCompiler + +configuration :: Configuration +configuration = defaultConfiguration + { destinationDirectory = "public" + , inMemoryCache = True + } |