{"action":"created","issue":{"url":"https://api.github.com/repos/symphonycms/docs.getsymphony.com/issues/11","labels_url":"https://api.github.com/repos/symphonycms/docs.getsymphony.com/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/symphonycms/docs.getsymphony.com/issues/11/comments","events_url":"https://api.github.com/repos/symphonycms/docs.getsymphony.com/issues/11/events","html_url":"https://github.com/symphonycms/docs.getsymphony.com/issues/11","id":55385036,"number":11,"title":"[Jekyll] Working with Collections","user":{"login":"bernardodiasc","id":131859,"avatar_url":"https://avatars.githubusercontent.com/u/131859?v=3","gravatar_id":"","url":"https://api.github.com/users/bernardodiasc","html_url":"https://github.com/bernardodiasc","followers_url":"https://api.github.com/users/bernardodiasc/followers","following_url":"https://api.github.com/users/bernardodiasc/following{/other_user}","gists_url":"https://api.github.com/users/bernardodiasc/gists{/gist_id}","starred_url":"https://api.github.com/users/bernardodiasc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernardodiasc/subscriptions","organizations_url":"https://api.github.com/users/bernardodiasc/orgs","repos_url":"https://api.github.com/users/bernardodiasc/repos","events_url":"https://api.github.com/users/bernardodiasc/events{/privacy}","received_events_url":"https://api.github.com/users/bernardodiasc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bernardodiasc","id":131859,"avatar_url":"https://avatars.githubusercontent.com/u/131859?v=3","gravatar_id":"","url":"https://api.github.com/users/bernardodiasc","html_url":"https://github.com/bernardodiasc","followers_url":"https://api.github.com/users/bernardodiasc/followers","following_url":"https://api.github.com/users/bernardodiasc/following{/other_user}","gists_url":"https://api.github.com/users/bernardodiasc/gists{/gist_id}","starred_url":"https://api.github.com/users/bernardodiasc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernardodiasc/subscriptions","organizations_url":"https://api.github.com/users/bernardodiasc/orgs","repos_url":"https://api.github.com/users/bernardodiasc/repos","events_url":"https://api.github.com/users/bernardodiasc/events{/privacy}","received_events_url":"https://api.github.com/users/bernardodiasc/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-24T21:15:00Z","updated_at":"2015-01-25T15:11:48Z","closed_at":null,"body":"> Collections allow you to define a new type of document that behave like Pages or Posts do normally, but also have their own unique properties and namespace.\r\n\r\nhttp://jekyllrb.com/docs/collections/\r\n\r\nThis is pretty awesome. Way better than use data yml with all indexes. BUT:\r\n\r\n> Collections support is unstable and may change\r\n> This is an experimental feature and that the API may likely change until the feature stabilizes.\r\n\r\nWell, manged to work in the last commit on this branch [collections](https://github.com/symphonycms/docs.getsymphony.com/tree/collections), but to work properly we need to wait Jekyll and GitHub apply this fix: https://github.com/jekyll/jekyll/issues/2346\r\n\r\nI hope dont take too long, because is a better way to work with pages."},"comment":{"url":"https://api.github.com/repos/symphonycms/docs.getsymphony.com/issues/comments/71376694","html_url":"https://github.com/symphonycms/docs.getsymphony.com/issues/11#issuecomment-71376694","issue_url":"https://api.github.com/repos/symphonycms/docs.getsymphony.com/issues/11","id":71376694,"user":{"login":"johnpuddephatt","id":8030910,"avatar_url":"https://avatars.githubusercontent.com/u/8030910?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpuddephatt","html_url":"https://github.com/johnpuddephatt","followers_url":"https://api.github.com/users/johnpuddephatt/followers","following_url":"https://api.github.com/users/johnpuddephatt/following{/other_user}","gists_url":"https://api.github.com/users/johnpuddephatt/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpuddephatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpuddephatt/subscriptions","organizations_url":"https://api.github.com/users/johnpuddephatt/orgs","repos_url":"https://api.github.com/users/johnpuddephatt/repos","events_url":"https://api.github.com/users/johnpuddephatt/events{/privacy}","received_events_url":"https://api.github.com/users/johnpuddephatt/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T15:11:48Z","updated_at":"2015-01-25T15:11:48Z","body":"`because is a better way to work with pages.` \r\n\r\nI've had a look at the documentation on the Jekyll site and I'm slightly confused...\r\n- can you clarify the benefit of using collections? from what I could see they mostly look useful if you wanted to define different content 'types' with different front matter.\r\n- are you imagining that each top-level grouping in the navigation would be a different collection? how would this differ from just making each top-level grouping a different category?\r\n- wouldn't the navigation still need to be constructed manually to keep things in the right order? Or would the order be handled by a front-matter value? again, wouldn't the same be possible using pages?"}}