{"action":"created","issue":{"url":"https://api.github.com/repos/yangzj1992/TKL-REVISION/issues/2","repository_url":"https://api.github.com/repos/yangzj1992/TKL-REVISION","labels_url":"https://api.github.com/repos/yangzj1992/TKL-REVISION/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/yangzj1992/TKL-REVISION/issues/2/comments","events_url":"https://api.github.com/repos/yangzj1992/TKL-REVISION/issues/2/events","html_url":"https://github.com/yangzj1992/TKL-REVISION/issues/2","id":252210889,"number":2,"title":"设置目录和标签页","user":{"login":"ThinkRealize","id":13347370,"avatar_url":"https://avatars1.githubusercontent.com/u/13347370?v=4","gravatar_id":"","url":"https://api.github.com/users/ThinkRealize","html_url":"https://github.com/ThinkRealize","followers_url":"https://api.github.com/users/ThinkRealize/followers","following_url":"https://api.github.com/users/ThinkRealize/following{/other_user}","gists_url":"https://api.github.com/users/ThinkRealize/gists{/gist_id}","starred_url":"https://api.github.com/users/ThinkRealize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThinkRealize/subscriptions","organizations_url":"https://api.github.com/users/ThinkRealize/orgs","repos_url":"https://api.github.com/users/ThinkRealize/repos","events_url":"https://api.github.com/users/ThinkRealize/events{/privacy}","received_events_url":"https://api.github.com/users/ThinkRealize/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-23T09:04:31Z","updated_at":"2017-08-23T16:01:13Z","closed_at":null,"body":"你好，yangzj1992。你的主题非常的漂亮，我在使用着，但是在配置的过程中遇到了一个问题。我尝试了各种配置，却不能够让目录和标签页面显示正确。\r\n![0f54c119-63d5-46bd-a7b7-d678a09b744f](https://user-images.githubusercontent.com/13347370/29607840-0eebbdde-8825-11e7-9f00-ff702debaa4f.png)\r\n我找到了组件的代码：\r\n```\r\n<%\r\nvar title = '';\r\nif(page.category) {\r\n  title = \"分类\";\r\n}\r\nif(page.tag) {\r\n  title = \"标签\";\r\n}\r\nif(page.archive) {\r\n  title = \"归档\";\r\n}\r\n%>\r\n```\r\n知道了只要使得 page.tag 和 page.archive 属性有值。\r\n请问该怎么配置才能使得页面有 page.category 和 page.tag 属性？\r\n还有如何关闭掉目录和标签页的评论功能，我设置 `comments: false`  但是无效..."},"comment":{"url":"https://api.github.com/repos/yangzj1992/TKL-REVISION/issues/comments/324382310","html_url":"https://github.com/yangzj1992/TKL-REVISION/issues/2#issuecomment-324382310","issue_url":"https://api.github.com/repos/yangzj1992/TKL-REVISION/issues/2","id":324382310,"user":{"login":"ThinkRealize","id":13347370,"avatar_url":"https://avatars1.githubusercontent.com/u/13347370?v=4","gravatar_id":"","url":"https://api.github.com/users/ThinkRealize","html_url":"https://github.com/ThinkRealize","followers_url":"https://api.github.com/users/ThinkRealize/followers","following_url":"https://api.github.com/users/ThinkRealize/following{/other_user}","gists_url":"https://api.github.com/users/ThinkRealize/gists{/gist_id}","starred_url":"https://api.github.com/users/ThinkRealize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThinkRealize/subscriptions","organizations_url":"https://api.github.com/users/ThinkRealize/orgs","repos_url":"https://api.github.com/users/ThinkRealize/repos","events_url":"https://api.github.com/users/ThinkRealize/events{/privacy}","received_events_url":"https://api.github.com/users/ThinkRealize/received_events","type":"User","site_admin":false},"created_at":"2017-08-23T16:01:13Z","updated_at":"2017-08-23T16:01:13Z","body":"在其他主题的使用办法中找到了解决办法。\r\n`hexo new page categories`\r\n然后将 `source/categories/index.md` 添加 `layout: \"categories\"`就可以"}}
{"actor":{"display_login":"ThinkRealize"}}