mirror of
https://github.com/fmap/muflax65ngodyewp.onion
synced 2024-07-01 10:46:49 +02:00
12 lines
257 B
Ruby
12 lines
257 B
Ruby
# breadcrumb navigation
|
|
include Nanoc3::Helpers::Breadcrumbs
|
|
|
|
def breadcrumbs
|
|
breadcrumbs_for_identifier(@item.identifier).map do |crumb|
|
|
{
|
|
link: crumb.identifier,
|
|
title: crumb[:short_title] || crumb[:title] || crumb.name,
|
|
}
|
|
end
|
|
end
|