html.sidebar.contents
Parameters
- $node
The node a sidebar is being created for.
- $side
Which sidebar, either left or right.
This template creates a table of contents for a sidebar. It applies html.sidebar.contents.mode to $node, passing $side as a parameter, to allow individual input formats to implement tables of contents.
This named template also implements html.sidebar.mode on the contents token. See html.sidebar for more information on how sidebars are created.