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

show year in category/tag list page #17

Open
linbo opened this issue Aug 20, 2017 · 2 comments
Open

show year in category/tag list page #17

linbo opened this issue Aug 20, 2017 · 2 comments

Comments

@linbo
Copy link

linbo commented Aug 20, 2017

https://simpleyyt.github.io/jekyll-theme-next/category/#/tutorial

the post is month-day post_title, can it be year-month-day post_title?

@Simpleyyt
Copy link
Owner

You can change the this code: https://github.com/Simpleyyt/jekyll-theme-next/blob/master/_includes/_macro/post-collapse.html#L26
to

{{ post.date | date: '%Y-%m-%d' }}

@pwyq
Copy link
Contributor

pwyq commented Aug 20, 2017

After changing to %Y-%m-%d, the post.date and post-title is overlapping.

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

No branches or pull requests

3 participants