{"action":"created","issue":{"url":"https://api.github.com/repos/adamwathan/jigsaw/issues/7","labels_url":"https://api.github.com/repos/adamwathan/jigsaw/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/adamwathan/jigsaw/issues/7/comments","events_url":"https://api.github.com/repos/adamwathan/jigsaw/issues/7/events","html_url":"https://github.com/adamwathan/jigsaw/issues/7","id":122046588,"number":7,"title":"[Proposal] Add support for page meta","user":{"login":"carbontwelve","id":464699,"avatar_url":"https://avatars.githubusercontent.com/u/464699?v=3","gravatar_id":"","url":"https://api.github.com/users/carbontwelve","html_url":"https://github.com/carbontwelve","followers_url":"https://api.github.com/users/carbontwelve/followers","following_url":"https://api.github.com/users/carbontwelve/following{/other_user}","gists_url":"https://api.github.com/users/carbontwelve/gists{/gist_id}","starred_url":"https://api.github.com/users/carbontwelve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carbontwelve/subscriptions","organizations_url":"https://api.github.com/users/carbontwelve/orgs","repos_url":"https://api.github.com/users/carbontwelve/repos","events_url":"https://api.github.com/users/carbontwelve/events{/privacy}","received_events_url":"https://api.github.com/users/carbontwelve/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-14T13:51:09Z","updated_at":"2016-01-04T12:09:43Z","closed_at":null,"body":"With issue #3 the necessity for per page meta will become a requirement for example: \r\n\r\n* taxonomy (tags, categories, etc) used for generating taxonomy index pages\r\n* draft status flag\r\n* published_date (to enable scheduling, if the published_date is in the future the page does not get generated)\r\n* etc\r\n\r\nPage meta could also be made available within the page as PHP variables, in the same way as the `config.php` variables are; page meta variables with the same key would overwrite variables set in `config.php`.\r\n\r\n#### Possible methods of implementation:\r\nIn a recent client project I used blade comment syntax for this for example:\r\n\r\n    {{-- draft: true --}}\r\n    {{-- tags: bar, foo, etc --}}\r\n\r\nI would be happy to dig that code out and add the functionality myself. Alternatively page meta could be added knockout.js style with a html comment such as:\r\n\r\n    <!-- jigsaw-meta\r\n    draft: true\r\n    tags:\r\n        bar\r\n        foo\r\n        etc\r\n    -->\r\n\r\nThese comments could then be parsed out when the page is generated to html, so that no backend meta is leaked.\r\n\r\nI intend to use jigsaw for a blog and am very happy to help write an implementation for both this and #3."},"comment":{"url":"https://api.github.com/repos/adamwathan/jigsaw/issues/comments/168660918","html_url":"https://github.com/adamwathan/jigsaw/issues/7#issuecomment-168660918","issue_url":"https://api.github.com/repos/adamwathan/jigsaw/issues/7","id":168660918,"user":{"login":"adamwathan","id":4323180,"avatar_url":"https://avatars.githubusercontent.com/u/4323180?v=3","gravatar_id":"","url":"https://api.github.com/users/adamwathan","html_url":"https://github.com/adamwathan","followers_url":"https://api.github.com/users/adamwathan/followers","following_url":"https://api.github.com/users/adamwathan/following{/other_user}","gists_url":"https://api.github.com/users/adamwathan/gists{/gist_id}","starred_url":"https://api.github.com/users/adamwathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamwathan/subscriptions","organizations_url":"https://api.github.com/users/adamwathan/orgs","repos_url":"https://api.github.com/users/adamwathan/repos","events_url":"https://api.github.com/users/adamwathan/events{/privacy}","received_events_url":"https://api.github.com/users/adamwathan/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T12:09:42Z","updated_at":"2016-01-04T12:09:42Z","body":"@carbontwelve Cool! Keep me updated with how it's going, would love to check it out when you have something you want to show!"}}