{"action":"created","issue":{"url":"https://api.github.com/repos/MoOx/phenomic/issues/713","repository_url":"https://api.github.com/repos/MoOx/phenomic","labels_url":"https://api.github.com/repos/MoOx/phenomic/issues/713/labels{/name}","comments_url":"https://api.github.com/repos/MoOx/phenomic/issues/713/comments","events_url":"https://api.github.com/repos/MoOx/phenomic/issues/713/events","html_url":"https://github.com/MoOx/phenomic/issues/713","id":174858728,"number":713,"title":"Improve the way we consume collection(s) to avoid sending all metadata in all pages","user":{"login":"DavidWells","id":532272,"avatar_url":"https://avatars.githubusercontent.com/u/532272?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidWells","html_url":"https://github.com/DavidWells","followers_url":"https://api.github.com/users/DavidWells/followers","following_url":"https://api.github.com/users/DavidWells/following{/other_user}","gists_url":"https://api.github.com/users/DavidWells/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidWells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidWells/subscriptions","organizations_url":"https://api.github.com/users/DavidWells/orgs","repos_url":"https://api.github.com/users/DavidWells/repos","events_url":"https://api.github.com/users/DavidWells/events{/privacy}","received_events_url":"https://api.github.com/users/DavidWells/received_events","type":"User","site_admin":false},"labels":[{"id":259868499,"url":"https://api.github.com/repos/MoOx/phenomic/labels/type:%20feature%20request","name":"type: feature request","color":"8D5BFF","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-09-02T22:24:00Z","updated_at":"2016-12-22T19:43:12Z","closed_at":null,"body":"Related to trimming down the `window.collection`.  #712 \n\nWhen you add in new custom meta (like in this blog post example) all those extra fields are also added to the `window.collection` data. This could potentially make it HUGE\n\nExample:\n\n`````` yaml\n\n---\nlayout: Post\ntitle: 'Defining Serverless and Why It Matters to Developers'\ndate: 2016-09-01\ndescription: \"You’ve probably heard the term _serverless._ But what does it actually mean? And more importantly, as a developer, why should you care?\"\nauthor:\n  name: Serverless\n  url: http://twitter.com/goServerless\n  avatar: https://avatars3.githubusercontent.com/u/13742415?v=3&s=60\ntags:\n- serverless\n\n---\n\n```json\n// printed in window.collection, notice the custom meta values\n{\n    \"layout\": \"Post\",\n    \"comments\": true,\n    \"title\": \"Defining Serverless and Why It Matters to Developers\",\n    \"date\": \"2016-09-01T00:00:00.000Z\",\n    \"description\": \"You’ve probably heard the term _serverless._ But what does it actually mean? And more importantly, as a developer, why should you care?\",\n    \"author\": {\n        \"name\": \"Serverless\",\n        \"url\": \"http://twitter.com/goServerless\",\n        \"avatar\": \"https://avatars3.githubusercontent.com/u/13742415?v=3&s=60\"\n    },\n    \"tags\": [\"serverless\"],\n    \"__filename\": \"blog/defining-serverless-and-why-it-matters-to-developers.md\",\n    \"__url\": \"/blog/defining-serverless-and-why-it-matters-to-developers/\",\n    \"__resourceUrl\": \"/blog/defining-serverless-and-why-it-matters-to-developers/index.html\",\n    \"__dataUrl\": \"/blog/defining-serverless-and-why-it-matters-to-developers/index.html.bf1d5e0db467ef721b8508992749379b.json\"\n}\n``````\n\nAll the data also exists in the `index.html.bf1d5e0db467ef721b8508992749379b.json` file. \n\nSo the question is, **would it be possible/worth it** to remove the additional custom fields from outputting into `window.collection` and just have the .json files for the individual pages handle that additional data?\n"},"comment":{"url":"https://api.github.com/repos/MoOx/phenomic/issues/comments/268875293","html_url":"https://github.com/MoOx/phenomic/issues/713#issuecomment-268875293","issue_url":"https://api.github.com/repos/MoOx/phenomic/issues/713","id":268875293,"user":{"login":"DavidWells","id":532272,"avatar_url":"https://avatars.githubusercontent.com/u/532272?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidWells","html_url":"https://github.com/DavidWells","followers_url":"https://api.github.com/users/DavidWells/followers","following_url":"https://api.github.com/users/DavidWells/following{/other_user}","gists_url":"https://api.github.com/users/DavidWells/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidWells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidWells/subscriptions","organizations_url":"https://api.github.com/users/DavidWells/orgs","repos_url":"https://api.github.com/users/DavidWells/repos","events_url":"https://api.github.com/users/DavidWells/events{/privacy}","received_events_url":"https://api.github.com/users/DavidWells/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T19:43:11Z","updated_at":"2016-12-22T19:43:11Z","body":"@bloodyowl awesome!\r\n\r\nHow is it being approached? I didn't see it mentioned in https://github.com/MoOx/phenomic/issues/925"}}
{"actor":{"display_login":"DavidWells"}}