diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-05-25 00:08:10 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-05-25 00:10:49 +0200 |
| commit | 32e050bac753687b801a40c91e398a0132ccffbc (patch) | |
| tree | 1bdd712879147d52e9fb7d25926d05da50f83a0e /Types.hs | |
| parent | 98c38296e0ef543074b4cfb352e364903f7898ef (diff) | |
| download | reploy-32e050bac753687b801a40c91e398a0132ccffbc.tar.gz reploy-32e050bac753687b801a40c91e398a0132ccffbc.tar.bz2 | |
tags get sourced
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" } |
