summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Hakyll.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-20 16:46:22 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-20 16:46:22 +0100
commit8602f23f7bcdcc3bec65ec98c70ee3f295482856 (patch)
tree8f86b9cb541ba0c4f1167a2211db090480d2f5b2 /src/Text/Hakyll/Hakyll.hs
parentd79022fb3481dd2f6c2c0d9112c6c6f37c71204e (diff)
downloadhakyll-8602f23f7bcdcc3bec65ec98c70ee3f295482856.tar.gz
Made site and cache directory configurable. Caching stubs.
Diffstat (limited to 'src/Text/Hakyll/Hakyll.hs')
-rw-r--r--src/Text/Hakyll/Hakyll.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Text/Hakyll/Hakyll.hs b/src/Text/Hakyll/Hakyll.hs
index af8c9c5..b33bbda 100644
--- a/src/Text/Hakyll/Hakyll.hs
+++ b/src/Text/Hakyll/Hakyll.hs
@@ -15,6 +15,10 @@ data HakyllConfiguration = HakyllConfiguration
{ -- | An additional context to use when rendering. This additional context
-- is used globally.
additionalContext :: Context
+ , -- | Directory where the site is placed.
+ siteDirectory :: FilePath
+ , -- | Directory for cache files.
+ cacheDirectory :: FilePath
}
-- | Our custom monad stack.