Skip to content

Commit

Permalink
CORE: update data provider (#1251) (#1252)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 authored Nov 21, 2024
1 parent 06856fa commit 7ffceca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
16 changes: 10 additions & 6 deletions netlify-cms.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 2 additions & 5 deletions templates/documentation/dataset/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,9 @@ const DatasetPageTemplate = ({
<Markdown>{latestInstruction.recommended}</Markdown>
</div>
<div className={styles.instructionReminder}>
<Markdown>{latestInstruction.reminder.title}</Markdown>
<h5>{latestInstruction.reminder.title}</h5>
<Markdown className={styles.instructionReminderText}>
{latestInstruction.reminder.descriptions.option}
</Markdown>
<Markdown className={styles.instructionReminderText}>
{latestInstruction.reminder.descriptions.option2}
{latestInstruction.reminder.description}
</Markdown>
</div>
</div>
Expand Down

0 comments on commit 7ffceca

Please sign in to comment.