Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

期望支持隐藏文章分类 #6093

Closed
ruibaby opened this issue Jun 18, 2024 · 3 comments · Fixed by #6116
Closed

期望支持隐藏文章分类 #6093

ruibaby opened this issue Jun 18, 2024 · 3 comments · Fixed by #6116
Assignees
Labels
area/core Issues or PRs related to the Halo Core kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/feature Categorizes issue or PR as related to a new feature.
Milestone

Comments

@ruibaby
Copy link
Member

ruibaby commented Jun 18, 2024

你当前使用的版本

2.16.3

描述一下此特性

RT,期望文章分类支持设置隐藏分类,即设置之后,不会在前台任何分类列表,文章列表主动出现相关的文章和分类。只能通过 /categories/{slug} 访问。

原因:

  1. 在某些类型的网站中,可能会使用分类归档页面(/categories/{slug})将一部分文章内容作为单独的领域,比如帮助中心、版本发布日志、公告等。然后这些分类的文章就可能不再适合放在首页的文章列表中。尤其是目前主题能够为不同的分类场景单独设置渲染模板。
  2. 比如 Halo 官网后续可能会提供案例中心页面,但这些案例文章并不期望出现在 https://www.halo.run/archives

/area core
/milestone 2.17.x
/kind feature
/kind api-change

附加信息

No response

@ruibaby
Copy link
Member Author

ruibaby commented Jun 18, 2024

/area core
/milestone 2.17.x
/kind feature
/kind api-change

@f2c-ci-robot f2c-ci-robot bot added the area/core Issues or PRs related to the Halo Core label Jun 18, 2024
@f2c-ci-robot f2c-ci-robot bot added this to the 2.17.x milestone Jun 18, 2024
@f2c-ci-robot f2c-ci-robot bot added kind/feature Categorizes issue or PR as related to a new feature. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API labels Jun 18, 2024
@guqing
Copy link
Member

guqing commented Jun 18, 2024

与之关联性较强的 issue #3374

@guqing
Copy link
Member

guqing commented Jun 21, 2024

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues or PRs related to the Halo Core kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants