The layout key in the front matter sets the layout for rendering the page, particularly how any indexes to other articles appear.
The available layouts are:
Layout | Description | Example |
base | No index even if page has children | |
blog | Index for child pages displayed in a blog style | Iceland |
dated_events | Like events but year prepended to index titles |
|
document | Text only indexes | Online resources |
events | Like base but index sorted by date |
|
menu | Like base but index displayed as a grid of rectangles |
Books |
news | Like blog but most recent N dated articles beneath page parent displayed in descending date |
News |
section | A series of articles with navigation arrows displayed as a blog | Moving hosts |
story | An indexed series of articles with navigation arrows | Australia 2002 |
thread | Two or more pages with navigation arrows | Trinity |
year | Like events but the page title is expected to be a year and a check is made that the child pages are dated in that year |
2001 |
years | A grid of years | Years |