hakyll-0.3.1: A simple static site generator library.Source codeContentsIndex
Module containing some specialized functions to deal with tags.
readTagMap :: [FilePath] -> IO (Map String [FilePath])
renderTagCloud :: Map String [FilePath] -> (String -> String) -> Float -> Float -> String
readTagMap :: [FilePath] -> IO (Map String [FilePath])Source
Read a tag map. This creates a map from tags to page paths. This function assumes the tags are located in the tags metadata field, separated by commas.
:: Map String [FilePath]A tag map as produced by readTagMap.
-> String -> StringFunction that produces an url for a tag.
-> FloatSmallest font size, in percent.
-> FloatBiggest font size, in percent.
-> StringResult of the render.
Render a tag cloud.
Produced by Haddock version 2.6.0