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

Empty taxonomy term is no more generated since 0.18 #2977

Closed
kakawait opened this issue Jan 22, 2017 · 5 comments
Closed

Empty taxonomy term is no more generated since 0.18 #2977

kakawait opened this issue Jan 22, 2017 · 5 comments
Assignees
Milestone

Comments

@kakawait
Copy link

kakawait commented Jan 22, 2017

Since hugo 0.18 (bug still on 0.18.1) with following setup (to reproduce)

mkdir blog
cd blog/
hugo new site .
hugo new post/welcome.md
cd themes/
# Random theme
git clone https://github.com/dim0627/hugo_theme_robust.git 
cd ..
echo -e "[taxonomies]\n  tag = \"tags\"" >> config.toml
./hugo_0.18_darwin_amd64 -w server --theme=hugo_theme_robust --buildDrafts

Then open http://localhost:1313/tags/ give me 404

screen shot 2017-01-22 at 10 43 08

Whereas using

./hugo_0.17_darwin_amd64 -w server --theme=hugo_theme_robust --buildDrafts

I get following result

screen shot 2017-01-22 at 10 43 56

As you can imagine the big difference is that on public folder using 0.18 there is no more public/tags/index.html unlike when generating using 0.17.


I know that from 0.18 everything is now a Page it's maybe related, but empty taxonomy term should be possible.

@felicianotech
Copy link
Contributor

I hit this issue today as well. Starting making my test from HTML Proofer fail due to the 404s.

@kakawait
Copy link
Author

Any contributors can claim it's a bug in order to allow theme developers to know if they are doing wrong or just wait for fix (or propose PR)?

@kakawait
Copy link
Author

kakawait commented Mar 1, 2017

still reproducible using Hugo Static Site Generator v0.19 darwin/amd64 BuildDate: 2017-02-27T11:21:29+01:00

@bep bep added the Bug label Mar 1, 2017
@bep bep added this to the v0.20 milestone Mar 1, 2017
@bep bep self-assigned this Mar 1, 2017
@bep bep closed this as completed in 9671162 Mar 1, 2017
@kakawait
Copy link
Author

kakawait commented Mar 1, 2017

Nice thank you @bep for fix

bep added a commit that referenced this issue Mar 1, 2017
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants