From dc730674399f9a9f7da2b638935912fc1113d7ee Mon Sep 17 00:00:00 2001 From: njms Date: Thu, 31 Aug 2023 13:21:43 -0700 Subject: [PATCH] Fix error in README --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b2c846c..fe46b80 100644 --- a/README.md +++ b/README.md @@ -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