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

Custom Taxonomy JSON Output List not Generated #6118

Closed
panbanda opened this issue Jul 27, 2019 · 2 comments
Closed

Custom Taxonomy JSON Output List not Generated #6118

panbanda opened this issue Jul 27, 2019 · 2 comments

Comments

@panbanda
Copy link

A discussion on the forums has led to this issue. I have a repo that I have created which displays this error. The issue is that I have a static JSON API outputting the various contents but the custom taxonomy (named "classifications") is not generating an /en/classifications/index.json file. It is, however, generating proper /en/classifications/[term]/index.json files.

I have tried adding under [outputs] both taxonomy = ["JSON"] and taxonomyTerm = ["JSON"] with no avail. The only way I was able to get this to work was to create a custom outputType and manually create the index file (you can see this in the master branch). There is also another way to create the content/classifications/_index.md file but I am trying to avoid this because it feels like a bug and I'd have to create it for each language that exists as well. Instead, the file should automatically use the _default/list.json to generate a list page for available classifications.

Repository & Branch with Bug

https://github.com/TuluaIO/library/tree/fix-classification-taxonomy

Potentially Related Issues:

#3831

@stale
Copy link

stale bot commented Nov 24, 2019

This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@stale stale bot added the Stale label Nov 24, 2019
@stale stale bot closed this as completed Dec 24, 2019
@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 Feb 10, 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

1 participant