hakyll-1.0.1: A simple static site generator library.

Text.Hakyll.Renderables

Synopsis

Documentation

data CustomPage Source

A custom page.

createCustomPageSource

Arguments

:: String

Destination of the page, relative to _site.

-> [FilePath]

Dependencies of the page.

-> [(String, Either String (IO String))]

Key - value mapping for rendering.

-> CustomPage 

Create a custom page.

data PagePath Source

PagePath is a class that wraps a FilePath. This is used to render Pages without reading them first through use of caching.

Instances

createPagePath :: FilePath -> PagePathSource

Create a PagePath from a FilePath.