From 35837f5607986b18746590c1611927d59cbe8c87 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Sat, 27 May 2023 20:19:11 +0200 Subject: render tags, run head-first into template problems --- Types.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Types.hs') 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. -- cgit v1.2.3