Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- categoryField :: String -> Tags -> Context a
- categoryField' :: String -> Tags -> Context a
- dateField :: String -> Context a
- tagsField :: String -> Tags -> Context a
- tagsField' :: String -> Tags -> Context a
- type Language = String
- feedConfiguration :: Translation -> FeedConfiguration
- languageField :: String -> Context a
- translate :: Translation -> String -> String
- translationCompiler :: Compiler (Item Translation)
- translationContext :: Context a
- translationField :: String -> Context a
Documentation
categoryField :: String -> Tags -> Context a Source #
Hakyll's categoryField
but with translation applied to the tag name.
categoryField' :: String -> Tags -> Context a Source #
Hakyll's categoryField
but with translation applied to the tag name.
| It also remove any trailing `/index.html` in the route.
dateField :: String -> Context a Source #
Hakyll's dateField
but uses a format base on the item
's language.
tagsField :: String -> Tags -> Context a Source #
Hakyll's tagsField
but with translation applied to the tag name.
tagsField' :: String -> Tags -> Context a Source #
Hakyll's tagsField
but with translation applied to the tag name.
| It also remove any trailing `/index.html` in the route.
feedConfiguration :: Translation -> FeedConfiguration Source #
FeedConfiguration
but with translated fields.
translate :: Translation -> String -> String Source #
Search for a word's translation in a Translation
.
| If there is none, return the word unchanged.
translationCompiler :: Compiler (Item Translation) Source #
Compiles a Translation
from a yaml
file.
translationContext :: Context a Source #
Helper Context
exposing all the modules Field
s in the same place.