diff options
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. |
