diff options
| author | Mirek Kratochvil <miroslav.kratochvil@uni.lu> | 2023-06-08 13:51:30 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <miroslav.kratochvil@uni.lu> | 2023-06-08 13:51:30 +0200 |
| commit | 4c1f0f9a4e4ee68aab098a61d3749960f568ec7f (patch) | |
| tree | 5ebcf8c0e7b5e60cfd7bac12e78fc01d175d95ef /Types.hs | |
| parent | b385e1b3f7982cfc2fce28e4e60c740d39cc97f8 (diff) | |
| download | reploy-4c1f0f9a4e4ee68aab098a61d3749960f568ec7f.tar.gz reploy-4c1f0f9a4e4ee68aab098a61d3749960f568ec7f.tar.bz2 | |
install files properly
Diffstat (limited to 'Types.hs')
| -rw-r--r-- | Types.hs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -44,6 +44,8 @@ data SiteState = , _defaultTemplate :: FilePath -- ^ Name of the default template , _redirectTemplate :: FilePath -- ^ Name of the template for redirect pages , _tagTemplate :: FilePath -- ^ Name of the template for tag listing pages + , _urlBase :: FilePath -- ^ "Root route" to prepend to all absolute links. + , _dumpFinalState :: Bool -- ^ Triggers printing out the structure when the processing finishes. } deriving (Show) @@ -63,6 +65,8 @@ emptySiteState = , _defaultTemplate = "default.html" , _redirectTemplate = "redirect.html" , _tagTemplate = "tag.html" + , _urlBase = "/" + , _dumpFinalState = False } -- | Monad for running the site generator. |
