Context Reference
Every template is injected with a "context" i.e. the data currently available
to rendering. ReadStor injects three different objects into every template
context: book
, annotation
(or annotations
depending on the
Context Mode) and names
.
Name | Description |
---|---|
book | The current Book being rendered. |
annotation | A single Annotation belonging to the current book. |
annotations | Multiple Annotations belonging to the current book. |
names | A set of Names for generating backlinks between files. |