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

Disabling the taxonomyTerm page kind behaves differently in v0.112.0 and later #11257

Closed
jmooring opened this issue Jul 16, 2023 · 3 comments · Fixed by #11271
Closed

Disabling the taxonomyTerm page kind behaves differently in v0.112.0 and later #11257

jmooring opened this issue Jul 16, 2023 · 3 comments · Fixed by #11271
Assignees
Milestone

Comments

@jmooring
Copy link
Member

With this site configuration:

disableKinds = ['taxonomyTerm']

Published with v0.111.3

public/
├── category/         <-- taxonomy page not rendered (as expected)
│   └── category-a/   <-- term page rendered (as expected)
│       ├── index.html
│       └── index.xml
├── posts/
│   ├── post-1/
│   │   └── index.html
│   ├── index.html
│   └── index.xml
├── favicon.ico
├── index.html
├── index.xml
└── sitemap.xml

Published with v0.112.0

public/
├── category/         <-- taxonomy page rendered (unexpected), term page not rendered (unexpected)
│   ├── index.html
│   └── index.xml
├── posts/
│   ├── post-1/
│   │   └── index.html
│   ├── index.html
│   └── index.xml
├── favicon.ico
├── index.html
├── index.xml
└── sitemap.xml

Related: #11256

Reference: https://discourse.gohugo.io/t/45309

@bep
Copy link
Member

bep commented Jul 17, 2023

disableKinds = ['taxonomyTerm']

Does it work if you do

disableKinds = ['term']

?

@jmooring
Copy link
Member Author

jmooring commented Jul 19, 2023

disableKinds = ['taxonomy'] --> PASS

public/
├── category/
│   └── category-a/
│       ├── index.html
│       └── index.xml
├── posts/
│   ├── post-1/
│   │   └── index.html
│   ├── index.html
│   └── index.xml
├── favicon.ico
├── index.html
├── index.xml
└── sitemap.xml

disableKinds = ['term'] --> PASS

public/
├── category/
│   ├── index.html
│   └── index.xml
├── posts/
│   ├── post-1/
│   │   └── index.html
│   ├── index.html
│   └── index.xml
├── favicon.ico
├── index.html
├── index.xml
└── sitemap.xml

@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 Aug 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants