aboutsummaryrefslogtreecommitdiff
path: root/Types.hs
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2023-05-27 20:19:11 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2023-05-27 20:19:11 +0200
commit35837f5607986b18746590c1611927d59cbe8c87 (patch)
tree1b4332816c000d2e442af747fd7ec4ff151ff5b9 /Types.hs
parent919e953d2035836cf537beb31610e7b2edce8833 (diff)
downloadreploy-35837f5607986b18746590c1611927d59cbe8c87.tar.gz
reploy-35837f5607986b18746590c1611927d59cbe8c87.tar.bz2
render tags, run head-first into template problems
Diffstat (limited to 'Types.hs')
-rw-r--r--Types.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Types.hs b/Types.hs
index 72f81c7..12088b6 100644
--- a/Types.hs
+++ b/Types.hs
@@ -43,6 +43,7 @@ data SiteState =
, _assetDir :: FilePath -- ^ Directory for output
, _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
}
deriving (Show)
@@ -61,6 +62,7 @@ emptySiteState =
, _assetDir = "assets"
, _defaultTemplate = "default.html"
, _redirectTemplate = "redirect.html"
+ , _tagTemplate = "tag.html"
}
-- | Monad for running the site generator.