|
|
|
|
Synopsis |
|
|
|
Documentation |
|
|
A Page is basically key-value mapping. Certain keys have special
meanings, like for example url, body and title.
|
|
|
We use a ByteString for obvious reasons.
|
|
|
Add a key-value mapping to the Page.
|
|
|
Get the URL for a certain page. This should always be defined. If
not, it will return trash.html.
|
|
|
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.
|
|
|
Create a key-value mapping page from an association list.
|
|
|
Concat the bodies of pages, and return the result.
|
|
|
:: String | Key of which to concat the values.
| -> [Page] | Pages to get the values from.
| -> PageValue | The concatenation.
| Concat certain values of pages, and return the result.
|
|
|
Produced by Haddock version 2.6.0 |