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

[BUG] Default “content/posts” can't work. This theme use "content/post" instead. #18

Open
airixz opened this issue Nov 20, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@airixz
Copy link

airixz commented Nov 20, 2023

Describe the bug
When I change to this theme. all the posts can't be render and show on the main page. But the exampleSite work well.
Finally, I find the different is in exampleSite, all posts is placed in folder "content/post"; but in my site, it's "content/posts".

I change my folder name from "posts" to "post", it works.
or modify the default layout index.html, list.html, single.html, change the related type from "post" to "posts".

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Run with '....'
  3. See the error

Expected behavior
The hugo document give the default post in "content/posts" folder.
So I suggest the Theme can follow this default name.

Additional context
Add any other context about the problem here.

@airixz airixz added the bug Something isn't working label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants