{"action":"created","issue":{"url":"https://api.github.com/repos/jekyll/jekyll/issues/2989","labels_url":"https://api.github.com/repos/jekyll/jekyll/issues/2989/labels{/name}","comments_url":"https://api.github.com/repos/jekyll/jekyll/issues/2989/comments","events_url":"https://api.github.com/repos/jekyll/jekyll/issues/2989/events","html_url":"https://github.com/jekyll/jekyll/issues/2989","id":45356414,"number":2989,"title":"`output` attribute is `nil` on collection documents","user":{"login":"anandthakker","id":4974151,"avatar_url":"https://avatars.githubusercontent.com/u/4974151?v=3","gravatar_id":"","url":"https://api.github.com/users/anandthakker","html_url":"https://github.com/anandthakker","followers_url":"https://api.github.com/users/anandthakker/followers","following_url":"https://api.github.com/users/anandthakker/following{/other_user}","gists_url":"https://api.github.com/users/anandthakker/gists{/gist_id}","starred_url":"https://api.github.com/users/anandthakker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anandthakker/subscriptions","organizations_url":"https://api.github.com/users/anandthakker/orgs","repos_url":"https://api.github.com/users/anandthakker/repos","events_url":"https://api.github.com/users/anandthakker/events{/privacy}","received_events_url":"https://api.github.com/users/anandthakker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jekyll/jekyll/labels/Question","name":"Question","color":"9713f5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-10-09T11:43:16Z","updated_at":"2015-07-22T20:37:58Z","closed_at":"2014-11-29T09:14:20Z","body":"The [docs](http://jekyllrb.com/docs/collections/) indicate that a document from a collection will have an attribute called `output`, which is:\r\n\r\n> The rendered output of the document, based on the `content`\r\n\r\nI'm finding that (even with `output: true`), the value of `mycollectiondocument.output` is `nil`, even though `content` has stuff in it.\r\n\r\nRepro template code:\r\n```\r\n{% for mycollectiondocument in site.lessons %}\r\n {{ mycollectiondocument }}\r\n{% endfor %}\r\n```\r\n\r\nThere's one document in said collection, and the output of the above is:\r\n```\r\n{\"layout\"=>\"lesson\",\r\n \"published\"=>true,\r\n \"title\"=>\"linear equations\", \r\n **\"output\"=>nil**, \r\n \"content\"=>\"{% raw %}some content{% endraw %}\", \r\n \"path\"=>\"[myprojectpath]/_lessons/02-1-linear-equations.html\", \r\n \"relative_path\"=>\"_lessons/02-1-linear-equations.html\", \r\n \"url\"=>\"/lessons/02-1-linear-equations.html\", \r\n \"collection\"=>\"lessons\"}\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jekyll/jekyll/issues/comments/123854764","html_url":"https://github.com/jekyll/jekyll/issues/2989#issuecomment-123854764","issue_url":"https://api.github.com/repos/jekyll/jekyll/issues/2989","id":123854764,"user":{"login":"parkr","id":237985,"avatar_url":"https://avatars.githubusercontent.com/u/237985?v=3","gravatar_id":"","url":"https://api.github.com/users/parkr","html_url":"https://github.com/parkr","followers_url":"https://api.github.com/users/parkr/followers","following_url":"https://api.github.com/users/parkr/following{/other_user}","gists_url":"https://api.github.com/users/parkr/gists{/gist_id}","starred_url":"https://api.github.com/users/parkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkr/subscriptions","organizations_url":"https://api.github.com/users/parkr/orgs","repos_url":"https://api.github.com/users/parkr/repos","events_url":"https://api.github.com/users/parkr/events{/privacy}","received_events_url":"https://api.github.com/users/parkr/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T20:37:58Z","updated_at":"2015-07-22T20:37:58Z","body":"@Fedjmike Where do you think it should go? PR's welcome."}}