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

feature request : 分类页面增加折叠按钮 #97

Closed
he-sb opened this issue Apr 3, 2020 · 3 comments · Fixed by #196
Closed

feature request : 分类页面增加折叠按钮 #97

he-sb opened this issue Apr 3, 2020 · 3 comments · Fixed by #196

Comments

@he-sb
Copy link

he-sb commented Apr 3, 2020

现有的配置文件只能实现分类页面“显示”或“不显示”各个分类下的文章,如果设置为不显示,那么需要点击分类后经过一次跳转才能查看该分类下所有文章;如果显示,文章数多了后靠下的分类要滚动好久才能看到。

希望分类旁边可以增加一个开关,点击后展开显示该分类下的文章,比较灵活。

@reuixiy reuixiy modified the milestones: v4.4.0, v4.5.0 May 17, 2020
@palant
Copy link
Collaborator

palant commented Jun 9, 2020

Is this still necessary with #147 resolved? That's exactly the issue I tried to address there.

@reuixiy
Copy link
Owner

reuixiy commented Jun 9, 2020

Not exactly. It can be solved by the same way, but what @he-sb means is related to partials/pages/tree-categories.html and partials/pages/tree-sections.html, which is controlled by enableTree.

@palant
Copy link
Collaborator

palant commented Jun 9, 2020

Ah, I see, a different type of page then.

reuixiy added a commit that referenced this issue Jun 12, 2020
Allow to limit the number of posts listed per category/section entry

Closes #97
ulmefors pushed a commit to ulmefors/hugo-theme-meme that referenced this issue Nov 22, 2020
Allow to limit the number of posts listed per category/section entry

Closes reuixiy#97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants