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

Filtering articles by category name does not work #86

Closed
fira42073 opened this issue May 29, 2022 · 4 comments
Closed

Filtering articles by category name does not work #86

fira42073 opened this issue May 29, 2022 · 4 comments

Comments

@fira42073
Copy link

I have a blog here: https://dev.murrr.space/articles/
And it shows that there is 1 article for each category, but when you click on it, site doesn't show any articles.

Source code is open: https://github.com/Friedrich42/murrr.space

@fira42073
Copy link
Author

I suspect that it may be because of categories' names. They have space in them. I had a similar problem in another project (non-hugo)

@fira42073
Copy link
Author

@WingLim I'm willing to contribute if you could point where the problem is and what may be potential fix?

@WingLim
Copy link
Owner

WingLim commented May 30, 2022

This is not a bug of this theme, you need to enable json output to generate data for search plugin.

Add below in your config.yaml:

outputs:
  home: ["HTML", "RSS", "JSON"]

@fira42073
Copy link
Author

Thank you!

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

2 participants