summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Hakyll/Tags.hs2
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 ()