Text.Hakyll.Renderable
- class Renderable a where
Documentation
class Renderable a whereSource
A class for datatypes that can be rendered to pages.
Methods
toContext :: a -> Hakyll ContextSource
Get a context to do substitutions with.
getDependencies :: a -> [FilePath]Source
Get the dependencies for the renderable. This is used for cache invalidation.
Get the destination for the renderable.
Instances
| Renderable Page | |
| Renderable PagePath | |
| Renderable CustomPage | |
| (Renderable a, Renderable b) => Renderable (CombinedRenderable a b) | Render combinations. |