packages feed

hakyll 4.1.3.0 → 4.1.4.0

raw patch · 2 files changed

+5/−8 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Hakyll.Web.Tags: renderTags :: (String -> String -> Int -> Int -> Int -> String) -> ([String] -> String) -> Tags -> Compiler String

Files

hakyll.cabal view
@@ -1,5 +1,5 @@ Name:    hakyll-Version: 4.1.3.0+Version: 4.1.4.0  Synopsis: A static website compiler library Description:
src/Hakyll/Web/Tags.hs view
@@ -47,6 +47,7 @@     , buildTags     , buildCategories     , tagsRules+    , renderTags     , renderTagCloud     , renderTagList     , tagsField@@ -149,7 +150,7 @@   ----------------------------------------------------------------------------------- | Render tags in HTML+-- | Render tags in HTML (the flexible higher-order function) renderTags :: (String -> String -> Int -> Int -> Int -> String)            -- ^ Produce a tag item: tag, url, count, min count, max count            -> ([String] -> String)@@ -218,13 +219,9 @@   ----------------------------------------------------------------------------------- | Render tags with links with custom function to get tags. It is typically--- together with 'getTags' like this:------ > renderTagsFieldWith (customFunction . getTags)--- >     "tags" (fromCapture "tags/*")+-- | Render tags with links with custom function to get tags tagsFieldWith :: (Identifier -> Compiler [String])  -- ^ Get the tags-              -> String                             -- ^ Destination key+              -> String                             -- ^ Destination field               -> Tags                               -- ^ Tags structure               -> Context a                          -- ^ Resulting context tagsFieldWith getTags' key tags = field key $ \item -> do