12.5.2 The header and footer of a node rule
The HEADER
and FOOTER
sections specify respectively what is to appear at the top and at the bottom of the node. This may include:
- These are composed using predefined functions as building blocks. The functions of particular interest are:
button(
string1, url, string2, class:classname)
filename(
node)
image(
url, keyword-args)
- Table of contents; hypertext links to child nodes.
- Tables of contents are provided by the function
toc(
depth, scope)
. This is then written out into an HTML file with a function call such as:
write(*,toc(4,global))
- Other information that improves the functionality of the generated Web.
- This may, for example, specify the heading of the upper section to appear at the beginning, or a signature for the document that is to appear at the end of each node. Any of the functions documented in Section 12.12, "Predefined functions" may be used to compose this information.
The HEADER
and FOOTER
are written into the HTML file of the node at creation and at closure of the node, respectively.