Update templates.adoc to clarify page.attributes usage. This might be obvious to...
authorDavid Jencks <david.a.jencks@gmail.com>
Sat, 24 Aug 2019 22:39:19 +0000 (22:39 +0000)
committerDan Allen <dan@opendevise.com>
Sat, 24 Aug 2019 22:39:19 +0000 (22:39 +0000)
docs/modules/ROOT/pages/templates.adoc

index 378fb6b..2d628af 100644 (file)
@@ -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.