{"action":"created","issue":{"url":"https://api.github.com/repos/marnen/middleman-breadcrumbs/issues/7","repository_url":"https://api.github.com/repos/marnen/middleman-breadcrumbs","labels_url":"https://api.github.com/repos/marnen/middleman-breadcrumbs/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/marnen/middleman-breadcrumbs/issues/7/comments","events_url":"https://api.github.com/repos/marnen/middleman-breadcrumbs/issues/7/events","html_url":"https://github.com/marnen/middleman-breadcrumbs/issues/7","id":142130089,"number":7,"title":"Works with middleman-4","user":{"login":"Jeeppler","id":2007739,"avatar_url":"https://avatars.githubusercontent.com/u/2007739?v=3","gravatar_id":"","url":"https://api.github.com/users/Jeeppler","html_url":"https://github.com/Jeeppler","followers_url":"https://api.github.com/users/Jeeppler/followers","following_url":"https://api.github.com/users/Jeeppler/following{/other_user}","gists_url":"https://api.github.com/users/Jeeppler/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeeppler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeeppler/subscriptions","organizations_url":"https://api.github.com/users/Jeeppler/orgs","repos_url":"https://api.github.com/users/Jeeppler/repos","events_url":"https://api.github.com/users/Jeeppler/events{/privacy}","received_events_url":"https://api.github.com/users/Jeeppler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-20T05:03:23Z","updated_at":"2016-03-23T16:33:17Z","closed_at":null,"body":"hello, \r\n\r\nthe plugin works with middleman-4, but make sure you have the `title: your-title` set for every page you use the plugin with. The plugin furthermore works with middleman-blog, but it does not work together with tag pages in middleman-blog. The reason is tags don't have parten elements."},"comment":{"url":"https://api.github.com/repos/marnen/middleman-breadcrumbs/issues/comments/200426254","html_url":"https://github.com/marnen/middleman-breadcrumbs/issues/7#issuecomment-200426254","issue_url":"https://api.github.com/repos/marnen/middleman-breadcrumbs/issues/7","id":200426254,"user":{"login":"Jeeppler","id":2007739,"avatar_url":"https://avatars.githubusercontent.com/u/2007739?v=3","gravatar_id":"","url":"https://api.github.com/users/Jeeppler","html_url":"https://github.com/Jeeppler","followers_url":"https://api.github.com/users/Jeeppler/followers","following_url":"https://api.github.com/users/Jeeppler/following{/other_user}","gists_url":"https://api.github.com/users/Jeeppler/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeeppler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeeppler/subscriptions","organizations_url":"https://api.github.com/users/Jeeppler/orgs","repos_url":"https://api.github.com/users/Jeeppler/repos","events_url":"https://api.github.com/users/Jeeppler/events{/privacy}","received_events_url":"https://api.github.com/users/Jeeppler/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T16:33:17Z","updated_at":"2016-03-23T16:33:17Z","body":"1. The problem is that middleman-blog tag pages don't have parent elements. This means you have to emulate what the breadcrumb plugin does:\r\n\r\n~~~\r\n<ul class=\"breadcrumbs\">\r\n\t<!-- creates a breadcrumb till recipes.html -->\r\n\t<%= breadcrumbs sitemap.find_resource_by_path(\"/recipes.html\"), wrapper: :li, separator: nil %>\r\n\t<!-- create the entry - without breadcrumbs helper -->\r\n\t<li><%= link_to( current_resource.data.title, \"#\" ) %></li>\r\n</ul>\r\n~~~\r\n\r\n2. If the page is already named correctly (e. g. about.html -> About) would be one of the use cases.\r\n\r\nThe main point about the ```title``` attribute is that you have not documented the need of setting a title attribute in your ```README.md``` documentation. It is important that useres are aware of the fact. I forgot to set the ```title``` attribute at the beginning and was surprised about the output of the breadcrumb plugin."}}