diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-06-18 19:44:07 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-06-18 19:44:07 +0200 |
| commit | 8fd47d38bb4c3dead49600f93f5345c0b06a6fec (patch) | |
| tree | 8d5a641b6fed82e432b5fce57a227879ef8421e1 /Types.hs | |
| parent | d792ed815ec21b5b95797b9411f2345e48f625c2 (diff) | |
| download | reploy-8fd47d38bb4c3dead49600f93f5345c0b06a6fec.tar.gz reploy-8fd47d38bb4c3dead49600f93f5345c0b06a6fec.tar.bz2 | |
source and use humanized tag names
Diffstat (limited to 'Types.hs')
| -rw-r--r-- | Types.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -39,6 +39,8 @@ data SiteState = -- | Map of tags, assigning to each tag sequence a list of tagged page -- mounts. This one is expanded (tags imply parent categories). , _ehtags :: M.Map [String] [FilePath] + -- | Map of "short" tags to expanded human-friendly names + , _tagNames :: M.Map String String -- | List of installed files (enables sharing) , _installs :: S.Set (String, FilePath) -- | List of installed files (prevents overwriting) @@ -131,6 +133,7 @@ siteOptions' = do , _redirects = M.empty , _htags = M.empty , _ehtags = M.empty + , _tagNames = M.empty , _installs = S.empty , _targets = S.empty , _templates = M.empty |
