hakyll-0.3.1: A simple static site generator library.Source codeContentsIndex
class Renderable a where
toContext :: a -> IO Context
getDependencies :: a -> [FilePath]
getURL :: a -> FilePath
class Renderable a whereSource
A class for datatypes that can be rendered to pages.
toContext :: a -> IO ContextSource
Get a context to do substitutions with.
getDependencies :: a -> [FilePath]Source
Get the dependencies for the renderable. This is used for cache invalidation.
getURL :: a -> FilePathSource
Get the destination for the renderable.
show/hide Instances
Produced by Haddock version 2.6.0