Fix error in README
This commit is contained in:
parent
08a358b0ce
commit
dc73067439
|
@ -20,11 +20,13 @@ Complete, valid yaml frontmatter for a page:
|
|||
```
|
||||
---
|
||||
title: required string
|
||||
permalink: required string
|
||||
permalink: optional string
|
||||
data: optional anything
|
||||
---
|
||||
```
|
||||
|
||||
If a permalink is not specified, the resultant file will have the same stem as the source file, and the extension `html`.
|
||||
|
||||
Besides the above, the following variables can be accessed from the global scope in the template:
|
||||
- `incoming` - a list of objects in the form of `{ title, permalink, data, id }` that link to this page
|
||||
- `id` - a trimmed, lower-cased version of the current page's title used internally to reference pages
|
||||
|
|
Loading…
Reference in New Issue