You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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]
bothtaxonomy = ["JSON"]
andtaxonomyTerm = ["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 thecontent/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 availableclassifications
.Repository & Branch with Bug
https://github.com/TuluaIO/library/tree/fix-classification-taxonomy
Potentially Related Issues:
#3831
The text was updated successfully, but these errors were encountered: