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

Make categories generator for single each term #5132

Closed
2 tasks done
dimaslanjaka opened this issue Dec 20, 2022 · 11 comments
Closed
2 tasks done

Make categories generator for single each term #5132

dimaslanjaka opened this issue Dec 20, 2022 · 11 comments

Comments

@dimaslanjaka
Copy link
Contributor

dimaslanjaka commented Dec 20, 2022

Check List

Please check followings before submitting a new feature request.

  • I have already read Docs page
  • I have already searched existing issues

Feature Request

I have Post https://www.webmanajemen.com/The%20Legend%20Of%20Neverland/Quiz.html

Category

the categories is ['Games', 'The Legend Of Neverland']

the generated category at https://www.webmanajemen.com/categories/Games/The-Legend-Of-Neverland/

when i visit https://www.webmanajemen.com/categories/Games is working (return 200)

when i visit https://www.webmanajemen.com/categories/The-Legend-Of-Neverland/ it not working (return 404)

Tags

post tags is ['The Legend Of Neverland', 'Event']

the tags generated at https://www.webmanajemen.com/tags/The-Legend-Of-Neverland/ and https://www.webmanajemen.com/tags/Event/ both working (returned 200)

Final Request

Why the generated category archive not like tags archive ?

Why i cant visit https://www.webmanajemen.com/categories/The-Legend-Of-Neverland/ ?

Please add this feature, so this feature make HEXO like Wordpress.

@dimaslanjaka dimaslanjaka changed the title Make categories single each term Make categories generator for single each term Dec 20, 2022
@D-Sketon
Copy link
Member

Maybe you can try like this:

categories: 
- ['Games']
- ['The Legend Of Neverland']

@dimaslanjaka
Copy link
Contributor Author

Maybe you can try like this:

categories: 
- ['Games']
- ['The Legend Of Neverland']

is that work ?

ill try it

@uiolee
Copy link
Member

uiolee commented Apr 18, 2024

It looks like this issue has been resolved and I will close it.

If the problem persists, please reopen

@uiolee uiolee closed this as completed Apr 18, 2024
@dimaslanjaka
Copy link
Contributor Author

It looks like this issue has been resolved and I will close it.

If the problem persists, please reopen

not working btw, it makes the category item blank/undefined.

i thought problem from the theme, but i dont know where to fix it.
need more documentation for that.

@uiolee
Copy link
Member

uiolee commented Apr 19, 2024

cat

in my test, it will work

@dimaslanjaka
Copy link
Contributor Author

dimaslanjaka commented Apr 19, 2024

in my test, it will work

screenshoot the category view.

mine:

the generated category at https://www.webmanajemen.com/categories/Games/The-Legend-Of-Neverland/

when i visit https://www.webmanajemen.com/categories/games is working (return 200)

when i visit https://www.webmanajemen.com/categories/The-Legend-Of-Neverland/ it not working (return 404)

@dimaslanjaka
Copy link
Contributor Author

wait wait got error 404 at all

@dimaslanjaka
Copy link
Contributor Author

there the original generated article https://www.webmanajemen.com/The%20Legend%20Of%20Neverland/Quiz.html

@dimaslanjaka
Copy link
Contributor Author

ill retry, i think my code wrong while parsing and print the category. but the only first category item generated https://www.webmanajemen.com/categories/programming/ , and the second term https://www.webmanajemen.com/categories/typescript/ 404

@dimaslanjaka
Copy link
Contributor Author

is this not a mistake of the plugin 'hexo-generator-categories' while generating category page ?

@dimaslanjaka
Copy link
Contributor Author

this issue has impact for SEO btw.

image

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