This disableKinds = ["taxonomyTerm"] works locally, but not on Cloudflare Pages. What could be the issue? Locally it returns a blank white page, but on Cloudflare Pages, it still shows the section with header and footer, but blank main section.
I want to disable the /category/ page but retain /category/name/ pages.
Hugo builds automatically run an old version. To run the latest version of Hugo (for instance, 0.80.0), you will need to set an environment variable. Set HUGO_VERSION to 0.80.0 or the Hugo version of your choice.
You have the value 'taxonomy' in the disabledKinds list. In Hugo 0.73.0 we fixed these to be what most people expect (taxonomy and term).
But this also means that your site configuration may not do what you expect. If it is correct, you can suppress this message by following the instructions below.
If you feel that this should not be logged as an ERROR, you can ignore it by adding this to your site config:
ignoreErrors = ["error-disable-taxonomy"]
logged 1 error(s)
If you disable term, you end up with an empty taxonomy page.
If you disable taxonomy, the term pages are generated but the taxonomy page is not. Yes, this generates an error:
You have the value ‘taxonomy’ in the disabledKinds list. In Hugo 0.73.0 we fixed these to be what most people expect (taxonomy and term). But this also means that your site configuration may not do what you expect.
If you read the remainder of the message, it tells you what to do:
If it is correct, you can suppress this message by following the instructions below. If you feel that this should not be logged as an ERROR, you can ignore it by adding this to your site config:
ignoreErrors = [“error-disable-taxonomy”]
Didn’t work either. It instead disables access to the category pages themselves. I asked for their support on Discord but no response. I have posted in the community pages awaiting a response.
Pinging this topic. Still does not work on CF and on Netlify, it returns a 404 error. Locally, it shows a blank white page. Is the error page the desired behaviour?