{"action":"created","issue":{"url":"https://api.github.com/repos/picocms/Pico/issues/219","labels_url":"https://api.github.com/repos/picocms/Pico/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/picocms/Pico/issues/219/comments","events_url":"https://api.github.com/repos/picocms/Pico/issues/219/events","html_url":"https://github.com/picocms/Pico/pull/219","id":72171944,"number":219,"title":"Pages are now parsed by PHP first.","user":{"login":"gixxy","id":1272015,"avatar_url":"https://avatars.githubusercontent.com/u/1272015?v=3","gravatar_id":"","url":"https://api.github.com/users/gixxy","html_url":"https://github.com/gixxy","followers_url":"https://api.github.com/users/gixxy/followers","following_url":"https://api.github.com/users/gixxy/following{/other_user}","gists_url":"https://api.github.com/users/gixxy/gists{/gist_id}","starred_url":"https://api.github.com/users/gixxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gixxy/subscriptions","organizations_url":"https://api.github.com/users/gixxy/orgs","repos_url":"https://api.github.com/users/gixxy/repos","events_url":"https://api.github.com/users/gixxy/events{/privacy}","received_events_url":"https://api.github.com/users/gixxy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/picocms/Pico/labels/info:%20feedback-needed","name":"info: feedback-needed","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-30T14:04:46Z","updated_at":"2015-04-30T14:45:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/picocms/Pico/pulls/219","html_url":"https://github.com/picocms/Pico/pull/219","diff_url":"https://github.com/picocms/Pico/pull/219.diff","patch_url":"https://github.com/picocms/Pico/pull/219.patch"},"body":"PHP in your markdown pages will now be run before the markdown is parsed. "},"comment":{"url":"https://api.github.com/repos/picocms/Pico/issues/comments/97825499","html_url":"https://github.com/picocms/Pico/pull/219#issuecomment-97825499","issue_url":"https://api.github.com/repos/picocms/Pico/issues/219","id":97825499,"user":{"login":"theshka","id":640217,"avatar_url":"https://avatars.githubusercontent.com/u/640217?v=3","gravatar_id":"","url":"https://api.github.com/users/theshka","html_url":"https://github.com/theshka","followers_url":"https://api.github.com/users/theshka/followers","following_url":"https://api.github.com/users/theshka/following{/other_user}","gists_url":"https://api.github.com/users/theshka/gists{/gist_id}","starred_url":"https://api.github.com/users/theshka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theshka/subscriptions","organizations_url":"https://api.github.com/users/theshka/orgs","repos_url":"https://api.github.com/users/theshka/repos","events_url":"https://api.github.com/users/theshka/events{/privacy}","received_events_url":"https://api.github.com/users/theshka/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T14:45:51Z","updated_at":"2015-04-30T14:45:51Z","body":"In the case of dynamic content on pages, that should be achieved through a plugin. If you follow MVC design Pico would look something like this; \r\n\r\nModel - Database - Markdown Files\r\nView - Layout - Theme/Twig\r\nController - Logic - Pico/Plugin\r\n\r\nI don't think including PHP in your View is good practice. "}}