hexo-theme-typography icon indicating copy to clipboard operation
hexo-theme-typography copied to clipboard

添加多级分类支持 Add support for multi-level categories

Open kamasylvia opened this issue 1 year ago • 0 comments

Hi there,

I'm using your Hexo theme and I'm really enjoying it so far. However, I've noticed that the theme doesn't currently support multi-level categories. This means that if I want to organize my posts into sub-categories, I have to resort to workarounds like using tags or creating separate parent categories for each sub-category.

I would like to request that you add support for multi-level categories in the theme. This would allow me to create a more organized and intuitive structure for my posts, and would make it easier for readers to navigate and find content on my site.

Ideally, I would like to be able to create categories like this:

- Programming
  - JavaScript
    - Node.js
    - React
  - Python
  - Ruby
- Design
  - UI/UX
  - Graphic design
- Photography

This would allow me to create a hierarchy of categories that reflects the structure of my content and makes it easier for readers to browse related topics.

If possible, it would also be great to have control over the display of sub-categories in the sidebar, so that readers can easily see the parent categories and expand/collapse the sub-categories as needed.

I understand that this might be a significant change to the theme's codebase, but I believe that it would add a valuable feature to the theme and make it more flexible and customizable for a wider range of use cases.

Thank you for considering my request. Let me know if you have any questions or if there's anything else I can do to help.

Best regards!


您好,

我正在使用您的 Hexo 主题,并且到目前为止我非常喜欢它。但是,我注意到该主题目前不支持多级分类。这意味着如果我想将我的帖子组织成子分类,我必须采用其他解决方法,例如使用标签或为每个子分类创建单独的父分类。

我想请求您在主题中添加多级分类支持。这将允许我创建更有组织且直观的帖子结构,并使读者更容易浏览和查找我的站点上的内容。

理想情况下,我希望能够创建以下类别:

- 编程
  - JavaScript
    - Node.js
    - React
  - Python
  - Ruby
- 设计
  - UI/UX
  - 平面设计
- 摄影

这将允许我创建一个类别层次结构,反映我的内容结构,并使读者更容易浏览相关主题。

如果可能,还希望能够控制主题侧边栏中子类别的显示方式,以便读者可以轻松查看父类别,并根据需要扩展/折叠子类别。

我理解这可能是主题代码库的重大变化,但我相信这将为该主题添加一个有价值的功能,并使其更具灵活性和可定制性,适用于更广泛的用例。

感谢您考虑我的请求。如果您有任何问题或需要帮助,请让我知道。

kamasylvia avatar Apr 23 '23 08:04 kamasylvia