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

Posts expected in post folder #17

Open
gabrielke opened this issue Apr 30, 2022 · 1 comment
Open

Posts expected in post folder #17

gabrielke opened this issue Apr 30, 2022 · 1 comment

Comments

@gabrielke
Copy link

I just installed this theme on a default hugo installation and all of the posts were "gone".
Reading the exampleSite I realized the content should be in "post" folder not in "posts" like in the default.

I think it would be better if the default config would work with the default location.
How can I change that in the config / in the source?

@tosi29
Copy link
Owner

tosi29 commented Apr 30, 2022

@gabrielke

Thank you for report.
I use post folder name to add this theme to theme list.
exampleSite comes from this repository, so I use original folder name of post.

Could you try feat/configure-post-directory branch? ( #18 )

I would like to keep post for current users and compatibility,
so If you want to use posts, please modify config.toml as follows.

[Params]
  readmore = true
  directoryOfPostContents = "posts"

I'm not sure it works perfectly or not.
If it looks working fine, I will merge this branch into master branch.

Thanks.

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