diff options
author | Joris | 2016-10-29 21:58:14 +0200 |
---|---|---|
committer | Joris | 2016-10-29 21:58:14 +0200 |
commit | 150cdb3bb22303c2061a0aca1471896c28ce57e9 (patch) | |
tree | 8154630232d45be5c237f720caa4c916b97f78e5 | |
parent | 14858277fb74c3788af1226f37b22089229edc34 (diff) |
Set destination directoyr to public
-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 + } |