From eec8b337ee152c2a6c2cbe0db239b761a39bc4c6 Mon Sep 17 00:00:00 2001 From: anoduck <9925396+anoduck@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:28:38 -0500 Subject: Corrected Link syntax and filenames --- .frontmatter/config/data/files/timeline.json | 41 ---------------------------- .frontmatter/config/data/folders/data.json | 36 +++++++++++++++++++++++- .frontmatter/config/data/types/timeline.json | 38 ++++++++++++++++++++++++++ 3 files changed, 73 insertions(+), 42 deletions(-) delete mode 100644 .frontmatter/config/data/files/timeline.json create mode 100644 .frontmatter/config/data/types/timeline.json (limited to '.frontmatter') diff --git a/.frontmatter/config/data/files/timeline.json b/.frontmatter/config/data/files/timeline.json deleted file mode 100644 index cb0ef1b..0000000 --- a/.frontmatter/config/data/files/timeline.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://frontmatter.codes/config/data.files.schema.json", - "id": "timeline", - "title": "Timeline", - "file": "[[workspace]]/data/timeline.yml", - "fileType": "yaml", - "schema": { - "title": "Timeline", - "type": "object", - "required": [ - "title", - "date" - ], - "properties": { - "title": { - "type": "string", - "title": "Title" - }, - "date": { - "type": "string", - "title": "Date" - }, - "icon": { - "type": "string", - "title": "Icon" - }, - "color": { - "type": "string", - "title": "Color" - }, - "url": { - "type": "string", - "title": "URL" - }, - "content": { - "type": "string", - "title": "Content" - } - } - } -} \ No newline at end of file diff --git a/.frontmatter/config/data/folders/data.json b/.frontmatter/config/data/folders/data.json index e88d8a9..77ffcf2 100644 --- a/.frontmatter/config/data/folders/data.json +++ b/.frontmatter/config/data/folders/data.json @@ -5,5 +5,39 @@ "singleEntry": false, "enableFileCreation": true, "fileType": "yaml", - "type": "data" + "type": "timeline", + "schema": { + "title": "Timeline", + "type": "object", + "required": [ + "title", + "date" + ], + "properties": { + "title": { + "type": "string", + "title": "Title" + }, + "date": { + "type": "string", + "title": "Date" + }, + "icon": { + "type": "string", + "title": "Icon" + }, + "color": { + "type": "string", + "title": "Color" + }, + "url": { + "type": "string", + "title": "URL" + }, + "content": { + "type": "string", + "title": "Content" + } + } + } } \ No newline at end of file diff --git a/.frontmatter/config/data/types/timeline.json b/.frontmatter/config/data/types/timeline.json new file mode 100644 index 0000000..fb6d713 --- /dev/null +++ b/.frontmatter/config/data/types/timeline.json @@ -0,0 +1,38 @@ +{ + "$schema": "https://frontmatter.codes/config/data.files.schema.json", + "id": "timeline", + "schema": { + "title": "Timeline", + "type": "object", + "required": [ + "title", + "date" + ], + "properties": { + "title": { + "type": "string", + "title": "Title" + }, + "date": { + "type": "string", + "title": "Date" + }, + "icon": { + "type": "string", + "title": "Icon" + }, + "color": { + "type": "string", + "title": "Color" + }, + "url": { + "type": "string", + "title": "URL" + }, + "content": { + "type": "string", + "title": "Content" + } + } + } +} \ No newline at end of file -- cgit v1.2.3