|
|
|
|
Synopsis |
|
|
|
Documentation |
|
|
A Page is basically key-value mapping. Certain keys have special
meanings, like for example url, body and title.
| Instances | |
|
|
|
Create a Page from a key-value mapping.
|
|
|
Obtain a value from a page. Will resturn an empty string when nothing is
found.
|
|
|
:: String | Key of which the value should be copied.
| -> String | Key the value should be copied to.
| -> ByteString -> ByteString | Function to apply on the value.
| -> Page | Page on which to apply this modification.
| -> Page | Result.
| Do something with a value of the page.
|
|
|
|
Get the body for a certain page. When not defined, the body will be
empty.
|
|
|
Read a page from a file. Metadata is supported, and if the filename
has a .markdown extension, it will be rendered using pandoc. Note that
pages are not templates, so they should not contain $identifiers.
|
|
|
Write a page to the site destination.
|
|
Produced by Haddock version 2.6.0 |