1
0
Fork 0
mirror of https://github.com/fmap/muflax65ngodyewp.onion synced 2024-07-03 11:00:42 +02:00
muflax65ngodyewp.onion/lib/crumb.rb
2013-04-02 23:22:57 +02:00

12 lines
236 B
Ruby

# breadcrumb navigation
include Nanoc::Helpers::Breadcrumbs
def breadcrumbs
breadcrumbs_trail.map do |crumb|
{
link: crumb.identifier,
title: (crumb[:short_title] || crumb[:title] || crumb.name).to_s,
}
end
end