aboutsummaryrefslogtreecommitdiff
path: root/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Types.hs')
-rw-r--r--Types.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Types.hs b/Types.hs
index 9dba9a4..72f81c7 100644
--- a/Types.hs
+++ b/Types.hs
@@ -33,13 +33,14 @@ data SiteState =
-- tagged page mounts
, _htags :: M.Map [String] [FilePath]
-- | List of installed files (enables sharing)
- , _installs :: S.Set FilePath
+ , _installs :: S.Set (String, FilePath)
-- | List of installed files (prevents overwriting)
, _targets :: S.Set FilePath
-- | Map of Mustache templates organized by template search path (within
-- the template directory)
, _templates :: M.Map FilePath Mu.Template
, _outputDir :: FilePath -- ^ Directory for output
+ , _assetDir :: FilePath -- ^ Directory for output
, _defaultTemplate :: FilePath -- ^ Name of the default template
, _redirectTemplate :: FilePath -- ^ Name of the template for redirect pages
}
@@ -57,6 +58,7 @@ emptySiteState =
, _targets = S.empty
, _templates = M.empty
, _outputDir = "_site"
+ , _assetDir = "assets"
, _defaultTemplate = "default.html"
, _redirectTemplate = "redirect.html"
}