hakyll-1.1: A simple static site generator library.

Text.Hakyll.Util

Synopsis

Documentation

trim :: String -> StringSource

Trim a string (drop spaces and tabs at both sides).

stripHTML :: String -> StringSource

Strip html tags.

link :: String -> String -> StringSource

Make a HTML link.

 link "foo" "bar.html" == "<a href='bar.html'>foo</a>"