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

Comments

Projects
None yet
2 participants
@anton-tsyganenko

anton-tsyganenko commented Dec 16, 2016

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

@ddfreyne

This comment has been minimized.

Show comment
Hide comment
@ddfreyne

ddfreyne Dec 17, 2016

Member

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

Member

ddfreyne commented Dec 17, 2016

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

@ddfreyne ddfreyne modified the milestone: 4.4.3 Dec 17, 2016

ddfreyne added a commit that referenced this issue Dec 17, 2016

@ddfreyne

This comment has been minimized.

Show comment
Hide comment
@ddfreyne

ddfreyne Dec 17, 2016

Member

This will be in Nanoc 4.4.3.

Member

ddfreyne commented Dec 17, 2016

This will be in Nanoc 4.4.3.

@ddfreyne ddfreyne closed this Dec 17, 2016

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