How to add Hugo Taxonomy meta data to Pages CMS #277
Unanswered
squidfingers
asked this question in
Q&A
Replies: 1 comment
-
|
I've added workarounds for 2 of these questions. For question 2, I changed the top-level For question 3, I had Hugo generate a json file of all tags used on the site, then fetched it using a select. It works ok, but if a new tag is created, it doesn't show up in the select until the site is built, which could be a few minutes. - name: tags
label: Tags
type: select
options:
creatable: true
multiple: true
fetch:
url: https://mysite.com/tags.json |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Hugo site that adds metadata to Tags using branch bundles in the content directory (See docs).
The content is structured like this:
The current config looks like this:
I want this metadata editable in the cms, but I can't figure out how to do a few things.
The listing page shows all of the directories, and I really just want it to list all of the Term
_index.mdpages by title.I can't seem to use
exclude:[_index.md]to hidecontent/tags/_index.mdfrom being shown, because it also hides all other the_index.mdfiles in the subfolders. Is there any way to hide the index page for the tags section, without hiding it for all of the child sections?I'd like a little help listing these tags in a Reference field. In my post config, had tried the following config, but it resulted in a blank select menu. I can't really figure out what to do from the docs.
Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions