hakyll-1.4: A simple static site generator library.Source codeContentsIndex
Text.Hakyll.Hakyll
Description
Module describing the Hakyll monad stack.
Synopsis
data HakyllConfiguration = HakyllConfiguration {
additionalContext :: Context
siteDirectory :: FilePath
cacheDirectory :: FilePath
enableIndexUrl :: Bool
previewPollDelay :: Int
}
type Hakyll = ReaderT HakyllConfiguration IO
askHakyll :: (HakyllConfiguration -> a) -> Hakyll a
Documentation
data HakyllConfiguration Source
Hakyll global configuration type.
Constructors
HakyllConfiguration
additionalContext :: ContextAn additional context to use when rendering. This additional context is used globally.
siteDirectory :: FilePathDirectory where the site is placed.
cacheDirectory :: FilePathDirectory for cache files.
enableIndexUrl :: BoolEnable index links.
previewPollDelay :: IntDelay between polls in preview mode.
type Hakyll = ReaderT HakyllConfiguration IOSource
Our custom monad stack.
askHakyll :: (HakyllConfiguration -> a) -> Hakyll aSource
Simplified ask function for the Hakyll monad stack.
Produced by Haddock version 2.6.0