{"action":"created","issue":{"url":"https://api.github.com/repos/jekyll/jekyll/issues/3870","labels_url":"https://api.github.com/repos/jekyll/jekyll/issues/3870/labels{/name}","comments_url":"https://api.github.com/repos/jekyll/jekyll/issues/3870/comments","events_url":"https://api.github.com/repos/jekyll/jekyll/issues/3870/events","html_url":"https://github.com/jekyll/jekyll/issues/3870","id":97538601,"number":3870,"title":"hooks don't work on subclasses","user":{"login":"stevecrozz","id":133328,"avatar_url":"https://avatars.githubusercontent.com/u/133328?v=3","gravatar_id":"","url":"https://api.github.com/users/stevecrozz","html_url":"https://github.com/stevecrozz","followers_url":"https://api.github.com/users/stevecrozz/followers","following_url":"https://api.github.com/users/stevecrozz/following{/other_user}","gists_url":"https://api.github.com/users/stevecrozz/gists{/gist_id}","starred_url":"https://api.github.com/users/stevecrozz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevecrozz/subscriptions","organizations_url":"https://api.github.com/users/stevecrozz/orgs","repos_url":"https://api.github.com/users/stevecrozz/repos","events_url":"https://api.github.com/users/stevecrozz/events{/privacy}","received_events_url":"https://api.github.com/users/stevecrozz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-27T19:32:10Z","updated_at":"2015-10-05T19:38:01Z","closed_at":"2015-10-05T19:38:00Z","body":"Currently Jekyll triggers hooks by matching the class of the triggering instance against a map of classes to symbols. This causes a problem described in octopress/paginate#7 where hooks are not triggered because the instance in question is a subclass of Page and not an instance of Page.\r\n\r\nWe need to come up with a way to support this use case."},"comment":{"url":"https://api.github.com/repos/jekyll/jekyll/issues/comments/145645403","html_url":"https://github.com/jekyll/jekyll/issues/3870#issuecomment-145645403","issue_url":"https://api.github.com/repos/jekyll/jekyll/issues/3870","id":145645403,"user":{"login":"stevecrozz","id":133328,"avatar_url":"https://avatars.githubusercontent.com/u/133328?v=3","gravatar_id":"","url":"https://api.github.com/users/stevecrozz","html_url":"https://github.com/stevecrozz","followers_url":"https://api.github.com/users/stevecrozz/followers","following_url":"https://api.github.com/users/stevecrozz/following{/other_user}","gists_url":"https://api.github.com/users/stevecrozz/gists{/gist_id}","starred_url":"https://api.github.com/users/stevecrozz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevecrozz/subscriptions","organizations_url":"https://api.github.com/users/stevecrozz/orgs","repos_url":"https://api.github.com/users/stevecrozz/repos","events_url":"https://api.github.com/users/stevecrozz/events{/privacy}","received_events_url":"https://api.github.com/users/stevecrozz/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T19:38:00Z","updated_at":"2015-10-05T19:38:00Z","body":"fixed by #3871"}}