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