projects
/
working
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38a28b7
)
Update templates.adoc to clarify page.attributes usage. This might be obvious to...
author
David Jencks
<david.a.jencks@gmail.com>
Sat, 24 Aug 2019 22:39:19 +0000
(22:39 +0000)
committer
Dan Allen
<dan@opendevise.com>
Sat, 24 Aug 2019 22:39:19 +0000
(22:39 +0000)
docs/modules/ROOT/pages/templates.adoc
patch
|
blob
|
history
diff --git
a/docs/modules/ROOT/pages/templates.adoc
b/docs/modules/ROOT/pages/templates.adoc
index
378fb6b
..
2d628af
100644
(file)
--- 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.