Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breadcrumbs only works with legacy identifiers #1010

Closed
anton-tsyganenko opened this issue Dec 16, 2016 · 2 comments
Closed

Breadcrumbs only works with legacy identifiers #1010

anton-tsyganenko opened this issue Dec 16, 2016 · 2 comments
Milestone

Comments

@anton-tsyganenko
Copy link

This bug must be known as there is a note in the docs, but it's not fixed.

<% breadcrumbs_trail.each do |crump| %>
<a href="<%= crump.path %>"><%= @crump[:title] %></a> / 
<% end %>

causes

Captain! We’ve been hit!

Message:

Nanoc::Helpers::Breadcrumbs::CannotGetBreadcrumbsForNonLegacyItem: You cannot build a breadcrumbs trail for an item that has a “full” identifier (/about.md). Doing so is only possible for items that have a legacy identifier.

Item being compiled:

Item identifier: /about.md
Item rep name:   :default

version: Nanoc 4.4.2

@denisdefreyne
Copy link
Member

#1011 adds support for non-legacy identifiers in #breadcrumbs_trail.

@denisdefreyne denisdefreyne modified the milestone: 4.4.3 Dec 17, 2016
denisdefreyne added a commit that referenced this issue Dec 17, 2016
Support full identifiers in breadcrumbs
@denisdefreyne
Copy link
Member

This will be in Nanoc 4.4.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants