hakyll-0.3: A simple static site generator library.Source codeContentsIndex
Text.Hakyll.Tags
Description
Module containing some specialized functions to deal with tags.
Synopsis
readTagMap :: [FilePath] -> IO (Map String [FilePath])
renderTagCloud :: Map String [FilePath] -> (String -> String) -> Float -> Float -> String
Documentation
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.
renderTagCloudSource
:: 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