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

Something about 'categories' don't work well #893

Closed
Rootjhon opened this issue Feb 17, 2023 · 3 comments
Closed

Something about 'categories' don't work well #893

Rootjhon opened this issue Feb 17, 2023 · 3 comments

Comments

@Rootjhon
Copy link

Background Note

Post_1

categories: [C_1, S_1]

Post_2

categories: [C_2, S_1]

Expect

  • Post_1 in <url>/categories/C_1/S_1/Post_1

  • Post_2 in <url>/categories/C_2/S_1/Post_2

But,in fact:

  • Post_1 in <url>/categories/S_1/Post_1

  • Post_2 in <url>/categories/S_1/Post_2

Question

  • Is it a bug or by design?
  • if 'by design', how to reach SUB_categories?

thanks a lot.

@nairpaa
Copy link

nairpaa commented Feb 17, 2023

In my condition (with default configuration) it is like this:

Post List:

Post_1 categories: [Windows, Security] 
Post_2 categories: [AD, Windows]

Post List on Category:

/categories/windows/
- /posts/Post_1  <-- Ways to access a post
- /posts/Post_2

/categoreis/security/
- /posts/Post_1

/categoreis/ad/
- /posts/Post_2

@NichtsHsu
Copy link
Contributor

NichtsHsu commented Feb 17, 2023

It is an issue of jekyll-archives , see jekyll/jekyll-archives#160.

If you are looking for a third party solution, you can refer to this commit NichtsHsu@8c607b5.

@stale
Copy link

stale bot commented Mar 19, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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