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
Custom keywords should be displayed in groups by their vocabulary (DarwinCore, AudubunCore, etc.), and sorted based on an optional order key in the ZENODO_CUSTOM_METADATA_VOCABULARIES configuration (see below new example). Some implementation details:
We're also adding a name key on the same level as the @context key which will be used for displaying the "group" label (see examples below)
Currently the custom keywords rendering takes place in the info.html Jinja template. Feel free to extract some of the more heavy logic in helper JInja filters/functions.
Use this example record with custom keywords from multiple vocabularies, to test out the result.
Example configuration with some order keys in terms
slint
changed the title
record: add sorting of vocabulary fields for "custom"
record: add grouping and sorting of vocabulary fields for "custom"
Sep 23, 2021
Custom keywords should be displayed in groups by their vocabulary (DarwinCore, AudubunCore, etc.), and sorted based on an optional
order
key in theZENODO_CUSTOM_METADATA_VOCABULARIES
configuration (see below new example). Some implementation details:name
key on the same level as the@context
key which will be used for displaying the "group" label (see examples below)info.html
Jinja template. Feel free to extract some of the more heavy logic in helper JInja filters/functions.order
keys in termsThe text was updated successfully, but these errors were encountered: