You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
614 B

6 years ago
{#
/**
* @file
* Default theme implementation to display a Table of contents header.
*
* Returns HTML for a Table of contents header.
*
* Available variables:
* - item: A table of contents header item.
* - options: Table of contents options.
* - header_options: Options associated with the current header item.
*
* @ingroup themeable
*/
#}
<{{ tag }}{{ attributes }}>{% if header_options.display_number %}<span>{{ header_options.number_prefix }}{% if options.number_path and path %}{{ path }}{% else %}{{ value }}{% endif %}{{ header_options.number_suffix }}</span>{% endif %}{{ html }}</{{ tag }}>