{"issue":{"title":"Implement sitemap traversal (parent & children helpers)","created_at":"2011-12-22T07:56:20Z","user":{"login":"tdreyno","id":233,"url":"https://api.github.com/users/tdreyno","gravatar_id":"a4c4bd782c415f9ec93fe11e5694bf06","avatar_url":"https://secure.gravatar.com/avatar/a4c4bd782c415f9ec93fe11e5694bf06?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"milestone":{"open_issues":2,"title":"3.0","creator":{"login":"tdreyno","id":233,"url":"https://api.github.com/users/tdreyno","gravatar_id":"a4c4bd782c415f9ec93fe11e5694bf06","avatar_url":"https://secure.gravatar.com/avatar/a4c4bd782c415f9ec93fe11e5694bf06?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-09T19:13:08Z","state":"open","due_on":"2011-12-31T08:00:00Z","closed_issues":9,"number":5,"description":"","url":"https://api.github.com/repos/middleman/middleman/milestones/5"},"labels":[{"name":"Feature Request","url":"https://api.github.com/repos/middleman/middleman/labels/Feature+Request","color":"02d7e1"}],"updated_at":"2011-12-23T20:06:04Z","state":"closed","id":2634969,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":"2011-12-23T20:04:46Z","html_url":"https://github.com/middleman/middleman/issues/207","body":"On any template, the `page` method will return the `Sitemap::Page` instance of the current page.\r\n\r\nThis instance will have `source_file`, `data`, `parent` and `children` methods.\r\n\r\n`source_file` returns the source. So if the current page is \"/index.html\" then the `source_file` is `source/index.html.erb`\r\n\r\n`data` returns the frontmatter\r\n\r\n`parent` returns the parent page, which is a non-building page representing the folder\r\n\r\n`children` returns all child pages of a folder","number":207,"url":"https://api.github.com/repos/middleman/middleman/issues/207","comments":1,"assignee":{"login":"tdreyno","id":233,"url":"https://api.github.com/users/tdreyno","gravatar_id":"a4c4bd782c415f9ec93fe11e5694bf06","avatar_url":"https://secure.gravatar.com/avatar/a4c4bd782c415f9ec93fe11e5694bf06?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"}},"comment":{"created_at":"2011-12-23T20:06:04Z","user":{"login":"tdreyno","id":233,"url":"https://api.github.com/users/tdreyno","gravatar_id":"a4c4bd782c415f9ec93fe11e5694bf06","avatar_url":"https://secure.gravatar.com/avatar/a4c4bd782c415f9ec93fe11e5694bf06?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"updated_at":"2011-12-23T20:06:04Z","id":3264271,"body":"Ping @audionerd\r\n\r\nDoes this work for what you're looking for?","url":"https://api.github.com/repos/middleman/middleman/issues/comments/3264271"},"action":"created"}