{"issue":{"created_at":"2011-10-26T09:38:58Z","state":"open","updated_at":"2011-12-01T19:41:15Z","comments":2,"user":{"gravatar_id":"fd55774554653a249a03905a1dd43e03","id":77294,"url":"https://api.github.com/users/tomaz","avatar_url":"https://secure.gravatar.com/avatar/fd55774554653a249a03905a1dd43e03?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"tomaz"},"body":"Is there a way to get all categories and tags set - useful for blog page sidebar/tagcloud.\r\n\r\nSimilar, but not so important: absolute list of posts (not ones from pagination, they only include posts on current subpage)? This would be useful for creating posts archive for blog sidebar for example. And list of all subpages for currently rendered page? This would allow nicer implementation than prev/next with links to actual subpages.","assignee":{"gravatar_id":"c7cbfd8ce858aa738a29329a89cc2fe5","id":470376,"url":"https://api.github.com/users/ludovicchabant","avatar_url":"https://secure.gravatar.com/avatar/c7cbfd8ce858aa738a29329a89cc2fe5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"ludovicchabant"},"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2054899,"number":8,"labels":[],"title":"List of all categories and tags","html_url":"https://github.com/ludovicchabant/PieCrust/issues/8","closed_at":null,"url":"https://api.github.com/repos/ludovicchabant/PieCrust/issues/8","milestone":null},"action":"created","comment":{"created_at":"2011-12-01T19:41:15Z","updated_at":"2011-12-01T19:41:15Z","user":{"gravatar_id":"c7cbfd8ce858aa738a29329a89cc2fe5","id":470376,"url":"https://api.github.com/users/ludovicchabant","avatar_url":"https://secure.gravatar.com/avatar/c7cbfd8ce858aa738a29329a89cc2fe5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"ludovicchabant"},"body":"Hey,\r\nFinally got around to make this happen. In the latest version, you should be able to use `site.categories` and `site.tags`. Each item in those arrays has a `name` and a `post_count` (something that may change in the near future... I'm not too happy about this yet).\r\nGiven a category or tag, you can use `pagination.in_category(cat)` or `pagination.with_tag(tag)` and loop over the relevant posts. There's also other cool new functions on `pagination`, but they need some more work.","id":2979449,"url":"https://api.github.com/repos/ludovicchabant/PieCrust/issues/comments/2979449"}}