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

next 在archive页展示年、月的文章数量 #785

Closed
3 tasks done
Physics-Lee opened this issue Apr 10, 2024 · 5 comments
Closed
3 tasks done

next 在archive页展示年、月的文章数量 #785

Physics-Lee opened this issue Apr 10, 2024 · 5 comments
Labels
Feature Request New feature or request Solved
Milestone

Comments

@Physics-Lee
Copy link

Physics-Lee commented Apr 10, 2024

Issue Checklist

Expected behavior

next可以在archive页显示年、月的文章数量吗?例如 https://lilianweng.github.io/archiveshttps://jenny42.com

Actual behavior

Click https://physics-lee.github.io/archives/

image

Steps to reproduce the behavior

next 默认是无法在archive页显示年、月的文章数量的

Other Information

No response

@Physics-Lee Physics-Lee added the Feature Request New feature or request label Apr 10, 2024
Copy link

welcome bot commented Apr 10, 2024

Thanks for opening this issue, maintainers will get back to you as soon as possible!

@stevenjoezhang
Copy link
Member

我改了改,可以展示每年的文章数量,但由于目前的样式没有按月分段,所以就不显示每月的文章数量了。
截屏2024-04-17 01 04 50
你觉得这样子可以吗?我主要担心年份也是数字,后面跟一个文章数量可能会让读者困惑

@Physics-Lee
Copy link
Author

@stevenjoezhang 很好呀。这是怎么做到的呢?

@stevenjoezhang
Copy link
Member

我push到主分支上了: 26d682c
你更新一下看看效果

@stevenjoezhang stevenjoezhang added this to the 8.20.0 milestone Apr 17, 2024
@Physics-Lee
Copy link
Author

感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request Solved
Projects
None yet
Development

No branches or pull requests

2 participants