Back to the extension listing.
Webgen::Tag::BreadcrumbTrail
Summary
The following tag names are registered for this tag class: breadcrumb_trail
This tag uses the following options:
tag.breadcrumbtrail.separator
tag.breadcrumbtrail.omit_index_path
tag.breadcrumbtrail.start_level
tag.breadcrumbtrail.end_level
Description
The breadcrumb trail tag is used for displaying the hierarchy of the current page. The behavior of
the tag.breadcrumbtrail.omit_index_path
option can be overridden for individual index paths by
setting the meta information omit_index_path
accordingly.
The amount of levels shown can be customized by using the options tag.breadcrumbtrail.start_level
and tag.breadcrumbtrail.end_level
, see the examples below.
Examples
Usage | Output |
---|---|
{breadcrumb_trail:} | Documentation / Tag / Webgen::Tag::BreadcrumbTrail |
{breadcrumb_trail: {separator: " HELLO "}} | Documentation HELLO Tag HELLO Webgen::Tag::BreadcrumbTrail |
{breadcrumb_trail: {end_level: -2}} | Documentation / Tag |
{breadcrumb_trail: {start_level: 1}} | Tag / Webgen::Tag::BreadcrumbTrail |
Back to the extension listing.