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] 首页文章按修改日期排序 #356

Closed
user-xiaosi opened this issue Sep 3, 2023 · 1 comment
Closed

[FEATURE] 首页文章按修改日期排序 #356

user-xiaosi opened this issue Sep 3, 2023 · 1 comment
Labels
wontfix This will not be worked on

Comments

@user-xiaosi
Copy link

Describe the feature you want 描述你的功能需求

希望增加一个功能,在首页显示的文章能按最后修改日期排序

Useful reference 有价值的参考

No response

@user-xiaosi user-xiaosi added the enhancement New feature or request label Sep 3, 2023
@Lruihao Lruihao added wontfix This will not be worked on and removed enhancement New feature or request labels Dec 27, 2023
@Lruihao
Copy link
Member

Lruihao commented Dec 27, 2023

如果首页文章按照修改日期排序,这会破坏现有的文章内的上一篇下一篇的逻辑顺序,所以该需求不做处理。

但是,如果你确实想这样做,你可以复制 blog/themes/FixIt/layouts/index.htmlblog/layouts/index.html,然后添加如下三行代码:

image

@Lruihao Lruihao closed this as completed Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants