From 8602f23f7bcdcc3bec65ec98c70ee3f295482856 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Wed, 20 Jan 2010 16:46:22 +0100 Subject: Made site and cache directory configurable. Caching stubs. --- src/Text/Hakyll/Hakyll.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Text/Hakyll/Hakyll.hs') 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. -- cgit v1.2.3