diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-05-27 21:01:20 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-05-27 21:01:20 +0200 |
| commit | 1b93ec5632fe7b22f7f84f65bf547048904b1203 (patch) | |
| tree | 9f342cce3021014c33eb980374303e49a6bc1701 | |
| parent | adb4ffd5d523edef6dded11466632d051a214007 (diff) | |
| download | reploy-1b93ec5632fe7b22f7f84f65bf547048904b1203.tar.gz reploy-1b93ec5632fe7b22f7f84f65bf547048904b1203.tar.bz2 | |
cmt
| -rw-r--r-- | site.hs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -233,6 +233,8 @@ sourceTags = do use pages htags .= M.fromList (invTags sgat) +-- | Organize a list of pages with hierarchical tags to a list with +-- hierarchical tags with pages attached. invTags :: [(FilePath, [[String]])] -> [([String], [FilePath])] invTags x = map (fmap nub) $ groupSort [(t, p) | (p, htl) <- x, ht <- htl, t <- inits ht] |
