diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-10-01 18:57:09 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-10-01 18:57:09 +0200 |
commit | 4be17172975a00f3324721fc779172f95dc8442d (patch) | |
tree | e05d5faa1b1de5d841b593d118cf8c3c6c667410 | |
parent | 3f331d165dd189ca3a54e3306fe0476b93123f68 (diff) | |
download | hakyll-4be17172975a00f3324721fc779172f95dc8442d.tar.gz |
Document withTagMap function
-rw-r--r-- | src/Text/Hakyll/Tags.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Hakyll/Tags.hs b/src/Text/Hakyll/Tags.hs index 5f6f5d5..a4559ca 100644 --- a/src/Text/Hakyll/Tags.hs +++ b/src/Text/Hakyll/Tags.hs @@ -118,6 +118,8 @@ readCategoryMap :: String -- ^ Unique identifier for the map. -> HakyllAction () TagMap readCategoryMap = readMap $ maybeToList . M.lookup "category" . unContext +-- | Perform a @Hakyll@ action on every item in the tag +-- withTagMap :: HakyllAction () TagMap -> (String -> [HakyllAction () Context] -> Hakyll ()) -> Hakyll () |