marnen / middleman-breadcrumbs

Breadcrumbs helper for Middleman (http://www.middlemanapp.com)
MIT License
11 stars 12 forks source link

Use Resource#url to honour directory indexes #12

Open assimovt opened 8 years ago

assimovt commented 8 years ago

Resource#path does not work well with Middleman Pretty URLs, see https://middlemanapp.com/advanced/pretty_urls

Using Resource#url fixes the problem as it follows the app configs.

marnen commented 8 years ago

9 might be related to this.

assimovt commented 8 years ago

Resource#url seems to be handling it already.

marnen commented 8 years ago

This will need tests before I can merge it. Also, what is the problem with path?

marnen commented 7 years ago

Hmm...I see that this has tests, which I somehow missed last time I looked. :P