From: David Jencks Date: Sat, 24 Aug 2019 22:39:19 +0000 (+0000) Subject: Update templates.adoc to clarify page.attributes usage. This might be obvious to... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bbc0f9bbcd8257fbfcb9de21819f4661fa127ed3;p=eg-antora.git Update templates.adoc to clarify page.attributes usage. This might be obvious to everyone else, but it took me about a day to figure out the syntax. --- diff --git a/docs/modules/ROOT/pages/templates.adoc b/docs/modules/ROOT/pages/templates.adoc index 378fb6b..2d628af 100644 --- a/docs/modules/ROOT/pages/templates.adoc +++ b/docs/modules/ROOT/pages/templates.adoc @@ -61,7 +61,8 @@ Sourced from AsciiDoc and converted to HTML by the Asciidoctor processor. | page.attributes | AsciiDoc header attributes that are prefixed with `page-`. -The `page-` prefix is dropped from these names. +The `page-` prefix is dropped from these names. A header attribute `:page-foo: bar` +is accessed as `page.attributes.foo`. | page.description | The text of the description attribute in the AsciiDoc header, if specified.