diff --git a/netlify-cms.config.yml b/netlify-cms.config.yml index ed2cd1a8..f2f325f6 100644 --- a/netlify-cms.config.yml +++ b/netlify-cms.config.yml @@ -1122,12 +1122,16 @@ collections: - name: reminder widget: object fields: - - { name: title, widget: markdown, label: Reminder title } - - name: description - widget: object - fields: - - { label: option, name: option, widget: markdown } - - { label: option2, name: option2, widget: markdown } + - { + name: title, + widget: string, + label: Reminder title + } + - { + name: description, + widget: markdown, + label: Reminder description + } - name: datasetLatest label: Latest dataset file: dataset/datasetLatest.yml diff --git a/templates/documentation/dataset/index.jsx b/templates/documentation/dataset/index.jsx index 46bece98..11a46ad3 100644 --- a/templates/documentation/dataset/index.jsx +++ b/templates/documentation/dataset/index.jsx @@ -99,12 +99,9 @@ const DatasetPageTemplate = ({ {latestInstruction.recommended}
- {latestInstruction.reminder.title} +
{latestInstruction.reminder.title}
- {latestInstruction.reminder.descriptions.option} - - - {latestInstruction.reminder.descriptions.option2} + {latestInstruction.reminder.description}