{"action":"created","issue":{"url":"https://api.github.com/repos/getkirby/kirby/issues/424","repository_url":"https://api.github.com/repos/getkirby/kirby","labels_url":"https://api.github.com/repos/getkirby/kirby/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/getkirby/kirby/issues/424/comments","events_url":"https://api.github.com/repos/getkirby/kirby/issues/424/events","html_url":"https://github.com/getkirby/kirby/issues/424","id":148880708,"number":424,"title":"Site models","user":{"login":"jenstornell","id":927011,"avatar_url":"https://avatars.githubusercontent.com/u/927011?v=3","gravatar_id":"","url":"https://api.github.com/users/jenstornell","html_url":"https://github.com/jenstornell","followers_url":"https://api.github.com/users/jenstornell/followers","following_url":"https://api.github.com/users/jenstornell/following{/other_user}","gists_url":"https://api.github.com/users/jenstornell/gists{/gist_id}","starred_url":"https://api.github.com/users/jenstornell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenstornell/subscriptions","organizations_url":"https://api.github.com/users/jenstornell/orgs","repos_url":"https://api.github.com/users/jenstornell/repos","events_url":"https://api.github.com/users/jenstornell/events{/privacy}","received_events_url":"https://api.github.com/users/jenstornell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-16T19:05:42Z","updated_at":"2016-04-16T19:12:12Z","closed_at":"2016-04-16T19:12:12Z","body":"Just like site controllers, add site models, where `site.php` is for the whole site."},"comment":{"url":"https://api.github.com/repos/getkirby/kirby/issues/comments/210876209","html_url":"https://github.com/getkirby/kirby/issues/424#issuecomment-210876209","issue_url":"https://api.github.com/repos/getkirby/kirby/issues/424","id":210876209,"user":{"login":"lukasbestle","id":1595007,"avatar_url":"https://avatars.githubusercontent.com/u/1595007?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasbestle","html_url":"https://github.com/lukasbestle","followers_url":"https://api.github.com/users/lukasbestle/followers","following_url":"https://api.github.com/users/lukasbestle/following{/other_user}","gists_url":"https://api.github.com/users/lukasbestle/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasbestle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasbestle/subscriptions","organizations_url":"https://api.github.com/users/lukasbestle/orgs","repos_url":"https://api.github.com/users/lukasbestle/repos","events_url":"https://api.github.com/users/lukasbestle/events{/privacy}","received_events_url":"https://api.github.com/users/lukasbestle/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T19:12:12Z","updated_at":"2016-04-16T19:12:12Z","body":"We have added \"page methods\" to the 2.3 beta, see #212. You can set global methods that will be called if neither the default `Page` class nor the template-specific model has a method. There's already documentation for this, but it is not yet live."}}