lib/middleman-sculptor/helpers/resources.rb in middleman-sculptor-0.17 vs lib/middleman-sculptor/helpers/resources.rb in middleman-sculptor-0.18
- old
+ new
@@ -165,10 +165,10 @@
hierarchy.unshift hierarchy.first.parent while hierarchy.first.parent
hierarchy.pop if remove_current
hierarchy.collect {|page|
link_to(
page.data.title || get_section_of_resource(page).title,
- "#{page.url}"
+ "/#{page.path}"
)
}.join(" <span class='sep'>#{separator}</span> ")
end
def page_title(page=current_page, separator='›')