{"action":"created","issue":{"url":"https://api.github.com/repos/getpelican/pelican/issues/884","labels_url":"https://api.github.com/repos/getpelican/pelican/issues/884/labels{/name}","comments_url":"https://api.github.com/repos/getpelican/pelican/issues/884/comments","events_url":"https://api.github.com/repos/getpelican/pelican/issues/884/events","html_url":"https://github.com/getpelican/pelican/issues/884","id":14165837,"number":884,"title":"Description and index for categories","user":{"login":"pagiraud","id":1922762,"avatar_url":"https://avatars.githubusercontent.com/u/1922762?v=3","gravatar_id":"","url":"https://api.github.com/users/pagiraud","html_url":"https://github.com/pagiraud","followers_url":"https://api.github.com/users/pagiraud/followers","following_url":"https://api.github.com/users/pagiraud/following{/other_user}","gists_url":"https://api.github.com/users/pagiraud/gists{/gist_id}","starred_url":"https://api.github.com/users/pagiraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagiraud/subscriptions","organizations_url":"https://api.github.com/users/pagiraud/orgs","repos_url":"https://api.github.com/users/pagiraud/repos","events_url":"https://api.github.com/users/pagiraud/events{/privacy}","received_events_url":"https://api.github.com/users/pagiraud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/getpelican/pelican/labels/feature%20request","name":"feature request","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2013-05-09T21:01:09Z","updated_at":"2015-08-02T15:52:15Z","closed_at":null,"body":"I think it would be nice to have the possibility to give a description to the categories. This description could be printed at the top of the list of the blog entries of this category. This could also be used for generating a special page with a list of the categories and their descriptions.\r\n\r\nFour ideas to implement this : \r\n1. If an index.md is given with a :category: name in its header, the content of the index is considered to be the description.\r\n2. If a file is named after a category e.g. mycat.md AND contains :category: mycat in tis header, the content of this file is considered to be the description.\r\n3. A special file called for instance categories.md could contain all the descriptions.\r\n4. Create a :type: keyword for the header. It's multipurpose : if you have :type: category, then the content of the file is the category description. This way subcategories can also be handled. For instance, if you have a file called mysubcat.md with in the header\r\n:type: category\r\n:category: mycat\r\nIt would create a mysubcat category within the mycat category.\r\n:type: could also be used for using different templates for posts within a same category (e. g. long posts, twiit-like posts, image post, etc.)\r\n\r\nThe last one is my favorite, though.\r\n\r\nThank you for this great tool !"},"comment":{"url":"https://api.github.com/repos/getpelican/pelican/issues/comments/127039308","html_url":"https://github.com/getpelican/pelican/issues/884#issuecomment-127039308","issue_url":"https://api.github.com/repos/getpelican/pelican/issues/884","id":127039308,"user":{"login":"justinmayer","id":1503700,"avatar_url":"https://avatars.githubusercontent.com/u/1503700?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmayer","html_url":"https://github.com/justinmayer","followers_url":"https://api.github.com/users/justinmayer/followers","following_url":"https://api.github.com/users/justinmayer/following{/other_user}","gists_url":"https://api.github.com/users/justinmayer/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmayer/subscriptions","organizations_url":"https://api.github.com/users/justinmayer/orgs","repos_url":"https://api.github.com/users/justinmayer/repos","events_url":"https://api.github.com/users/justinmayer/events{/privacy}","received_events_url":"https://api.github.com/users/justinmayer/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T15:52:15Z","updated_at":"2015-08-02T15:52:15Z","body":"@avaris: Any updates regarding your plugin that stores additional data for a category/author/tag in a specific folder just like an article?"}}