{"action":"created","issue":{"url":"https://api.github.com/repos/MoOx/phenomic/issues/932","repository_url":"https://api.github.com/repos/MoOx/phenomic","labels_url":"https://api.github.com/repos/MoOx/phenomic/issues/932/labels{/name}","comments_url":"https://api.github.com/repos/MoOx/phenomic/issues/932/comments","events_url":"https://api.github.com/repos/MoOx/phenomic/issues/932/events","html_url":"https://github.com/MoOx/phenomic/issues/932","id":199427529,"number":932,"title":"Markdown head property type breaks layout","user":{"login":"0x80","id":1193520,"avatar_url":"https://avatars.githubusercontent.com/u/1193520?v=3","gravatar_id":"","url":"https://api.github.com/users/0x80","html_url":"https://github.com/0x80","followers_url":"https://api.github.com/users/0x80/followers","following_url":"https://api.github.com/users/0x80/following{/other_user}","gists_url":"https://api.github.com/users/0x80/gists{/gist_id}","starred_url":"https://api.github.com/users/0x80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x80/subscriptions","organizations_url":"https://api.github.com/users/0x80/orgs","repos_url":"https://api.github.com/users/0x80/repos","events_url":"https://api.github.com/users/0x80/events{/privacy}","received_events_url":"https://api.github.com/users/0x80/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-08T15:23:57Z","updated_at":"2017-01-09T07:21:22Z","closed_at":null,"body":"I created some posts with a `type` property, and found that it breaks the layout. It seems that `layout` is set as `type` on the object passed to the page component. It appears to still contain the layout value when a type is used in the head, but somewhere it breaks things because the layout is not being used in page rendering.\r\n\r\nAs a side note I think it would be useful to have a warning or error when setting a layout that is not registered. Currently it silently falls back to `Page`."},"comment":{"url":"https://api.github.com/repos/MoOx/phenomic/issues/comments/271223088","html_url":"https://github.com/MoOx/phenomic/issues/932#issuecomment-271223088","issue_url":"https://api.github.com/repos/MoOx/phenomic/issues/932","id":271223088,"user":{"login":"MoOx","id":157534,"avatar_url":"https://avatars.githubusercontent.com/u/157534?v=3","gravatar_id":"","url":"https://api.github.com/users/MoOx","html_url":"https://github.com/MoOx","followers_url":"https://api.github.com/users/MoOx/followers","following_url":"https://api.github.com/users/MoOx/following{/other_user}","gists_url":"https://api.github.com/users/MoOx/gists{/gist_id}","starred_url":"https://api.github.com/users/MoOx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoOx/subscriptions","organizations_url":"https://api.github.com/users/MoOx/orgs","repos_url":"https://api.github.com/users/MoOx/repos","events_url":"https://api.github.com/users/MoOx/events{/privacy}","received_events_url":"https://api.github.com/users/MoOx/received_events","type":"User","site_admin":false},"created_at":"2017-01-09T07:21:22Z","updated_at":"2017-01-09T07:21:22Z","body":"Indeed layout used is type || layout. Maybe this is not documented but it's like that since the beginning.\r\nI guess we should show warnings indeed. Will revisit this for [1.0](#https://github.com/MoOx/phenomic/issues/925)"}}
{"actor":{"display_login":"MoOx"}}