hakyll-0.2: A simple static site generator library.
Source code
Contents
Index
Text.Hakyll.Renderables
Synopsis
data
CustomPage
createCustomPage
::
String
-> [
FilePath
] -> [(
String
,
Either
String
(
IO
ByteString
))] ->
CustomPage
data
PagePath
createPagePath
::
FilePath
->
PagePath
Documentation
data
CustomPage
Source
A custom page.
Instances
Renderable
CustomPage
createCustomPage
Source
::
String
Destination of the page, relative to _site.
-> [
FilePath
]
Dependencies of the page.
-> [(
String
,
Either
String
(
IO
ByteString
))]
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
Renderable
PagePath
createPagePath
::
FilePath
->
PagePath
Source
Create a PagePath from a FilePath.
Produced by
Haddock
version 2.6.0