From 32e050bac753687b801a40c91e398a0132ccffbc Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Thu, 25 May 2023 00:08:10 +0200 Subject: tags get sourced --- Types.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Types.hs') 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" } -- cgit v1.2.3