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

Source posts organization #52

Closed
jimzhan opened this issue Jan 11, 2013 · 2 comments
Closed

Source posts organization #52

jimzhan opened this issue Jan 11, 2013 · 2 comments

Comments

@jimzhan
Copy link

jimzhan commented Jan 11, 2013

currently there's no any proper way to organize posts except categorize them into separated folders, but then Hexo'll treat them as categories. Is there any better way to do so especially ppl who have hundreds or even thousands of posts?

@tommy351
Copy link
Member

We can organize the posts by editing new_post_name setting in _config.yml. For example:

new_post_name: :year-:month-:day-:title.md

to make posts sorted by date.

@thom4parisot
Copy link
Member

What if the setting is new_post_name: :year/:title.md?

It seems the generator does not like folders (and thus does not recurse inside them).

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