diff options
Diffstat (limited to 'Types.hs')
| -rw-r--r-- | Types.hs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" } |
