From d4d8a9e36b0efa1a92fdc41610602d67c1c08c95 Mon Sep 17 00:00:00 2001 From: anoduck <11767-anoduck@users.noreply.gitgud.io> Date: Wed, 23 Oct 2024 03:48:34 -0400 Subject: feat(content): :sparkles: Front page changes, additional content Created reasons section, added more content, and improved style. --- .../config/content/pagefolders/person.json | 10 -- .../config/content/pagefolders/persons.json | 10 ++ .../config/content/pagefolders/reasons.json | 10 ++ .../config/taxonomy/contenttypes/content.json | 122 ++++++++++++++++++++ .../config/taxonomy/contenttypes/docs.json | 9 +- .../config/taxonomy/contenttypes/legal.json | 9 +- .../config/taxonomy/contenttypes/minimal.json | 9 +- .../config/taxonomy/contenttypes/page.json | 125 --------------------- .../config/taxonomy/contenttypes/person.json | 9 +- .../config/taxonomy/contenttypes/post.json | 10 +- .../config/taxonomy/contenttypes/reason.json | 64 +++++++++++ 11 files changed, 220 insertions(+), 167 deletions(-) delete mode 100644 .frontmatter/config/content/pagefolders/person.json create mode 100644 .frontmatter/config/content/pagefolders/persons.json create mode 100644 .frontmatter/config/content/pagefolders/reasons.json create mode 100644 .frontmatter/config/taxonomy/contenttypes/content.json delete mode 100644 .frontmatter/config/taxonomy/contenttypes/page.json create mode 100644 .frontmatter/config/taxonomy/contenttypes/reason.json (limited to '.frontmatter/config') diff --git a/.frontmatter/config/content/pagefolders/person.json b/.frontmatter/config/content/pagefolders/person.json deleted file mode 100644 index cfebd32..0000000 --- a/.frontmatter/config/content/pagefolders/person.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "$schema": "https://frontmatter.codes/config/content.pagefolders.schema.json", - "title": "person", - "path": "[[workspace]]/content/persons", - "filePrefix": null, - "previewPath": "persons", - "contentTypes": [ - "person" - ] -} \ No newline at end of file diff --git a/.frontmatter/config/content/pagefolders/persons.json b/.frontmatter/config/content/pagefolders/persons.json new file mode 100644 index 0000000..606d213 --- /dev/null +++ b/.frontmatter/config/content/pagefolders/persons.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://frontmatter.codes/config/content.pagefolders.schema.json", + "title": "persons", + "path": "[[workspace]]/content/persons", + "filePrefix": null, + "previewPath": "persons", + "contentTypes": [ + "person" + ] +} \ No newline at end of file diff --git a/.frontmatter/config/content/pagefolders/reasons.json b/.frontmatter/config/content/pagefolders/reasons.json new file mode 100644 index 0000000..0c13780 --- /dev/null +++ b/.frontmatter/config/content/pagefolders/reasons.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://frontmatter.codes/config/content.pagefolders.schema.json", + "title": "reasons", + "path": "[[workspace]]/content/reasons", + "filePrefix": null, + "previewPath": "reasons", + "contentTypes": [ + "reason" + ] +} \ No newline at end of file diff --git a/.frontmatter/config/taxonomy/contenttypes/content.json b/.frontmatter/config/taxonomy/contenttypes/content.json new file mode 100644 index 0000000..6d3d586 --- /dev/null +++ b/.frontmatter/config/taxonomy/contenttypes/content.json @@ -0,0 +1,122 @@ +{ + "$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json", + "name": "Content", + "pageBundle": false, + "previewPath": null, + "fields": [ + { + "title": "Title", + "name": "title", + "type": "string", + "single": true + }, + { + "title": "Date", + "name": "date", + "type": "datetime", + "default": "{{now}}", + "isPublishDate": true + }, + { + "title": "Description", + "name": "description", + "type": "string" + }, + { + "title": "Draft", + "name": "draft", + "type": "draft" + }, + { + "title": "Tags", + "name": "tags", + "type": "tags" + }, + { + "title": "Icon", + "name": "icon", + "type": "string", + "single": true + }, + { + "title": "Type", + "name": "type", + "type": "choice", + "choices": [ + "default", + "docs", + "minimal" + ], + "default": "default" + }, + { + "title": "Categories", + "name": "categories", + "type": "string", + "single": true, + "default": "Content" + }, + { + "title": "Metadata", + "name": "metadata", + "type": "choice", + "choices": [ + "full", + "original", + "none" + ], + "default": "full" + }, + { + "title": "Download", + "name": "download", + "type": "string", + "single": true + }, + { + "title": "Thumbnail", + "name": "thumbnail", + "type": "fields", + "fields": [ + { + "title": "URL", + "name": "url", + "type": "image" + }, + { + "title": "Author", + "name": "author", + "type": "string", + "single": true + }, + { + "title": "AuthorUrl", + "name": "authorUrl", + "type": "string" + }, + { + "title": "Origin", + "name": "origin", + "type": "string", + "single": true + }, + { + "title": "OriginUrl", + "name": "originUrl", + "type": "string" + } + ] + }, + { + "title": "Author", + "name": "author", + "type": "string", + "single": true + }, + { + "title": "Links", + "name": "navigationLinks", + "type": "list" + } + ] +} \ No newline at end of file diff --git a/.frontmatter/config/taxonomy/contenttypes/docs.json b/.frontmatter/config/taxonomy/contenttypes/docs.json index dc5e3d7..8004565 100644 --- a/.frontmatter/config/taxonomy/contenttypes/docs.json +++ b/.frontmatter/config/taxonomy/contenttypes/docs.json @@ -29,12 +29,9 @@ { "title": "Categories", "name": "categories", - "type": "choice", - "choices": [ - "Persons", - "Evidence", - "Legal" - ] + "type": "string", + "single": true, + "default": "Evidence" }, { "title": "Type", diff --git a/.frontmatter/config/taxonomy/contenttypes/legal.json b/.frontmatter/config/taxonomy/contenttypes/legal.json index 4d34e03..0a1e3c7 100644 --- a/.frontmatter/config/taxonomy/contenttypes/legal.json +++ b/.frontmatter/config/taxonomy/contenttypes/legal.json @@ -28,12 +28,9 @@ { "title": "Categories", "name": "categories", - "type": "choice", - "choices": [ - "Persons", - "Evidence", - "Legal" - ] + "type": "string", + "single": true, + "default": "Legal" }, { "title": "Type", diff --git a/.frontmatter/config/taxonomy/contenttypes/minimal.json b/.frontmatter/config/taxonomy/contenttypes/minimal.json index ddd23ed..bcf6a1d 100644 --- a/.frontmatter/config/taxonomy/contenttypes/minimal.json +++ b/.frontmatter/config/taxonomy/contenttypes/minimal.json @@ -18,13 +18,8 @@ { "title": "Categories", "name": "categories", - "type": "choice", - "choices": [ - "Persons", - "Evidence", - "Legal", - "Video" - ] + "type": "string", + "single": true }, { "title": "Type", diff --git a/.frontmatter/config/taxonomy/contenttypes/page.json b/.frontmatter/config/taxonomy/contenttypes/page.json deleted file mode 100644 index d3c9a4e..0000000 --- a/.frontmatter/config/taxonomy/contenttypes/page.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json", - "name": "page", - "pageBundle": false, - "previewPath": null, - "fields": [ - { - "title": "Title", - "name": "title", - "type": "string", - "single": true - }, - { - "title": "Date", - "name": "date", - "type": "datetime", - "default": "{{now}}", - "isPublishDate": true - }, - { - "title": "Description", - "name": "description", - "type": "string" - }, - { - "title": "Draft", - "name": "draft", - "type": "draft" - }, - { - "title": "Tags", - "name": "tags", - "type": "tags" - }, - { - "title": "Icon", - "name": "icon", - "type": "string", - "single": true - }, - { - "title": "Type", - "name": "type", - "type": "choice", - "choices": [ - "default", - "docs", - "minimal" - ], - "default": "default" - }, - { - "title": "Categories", - "name": "categories", - "type": "choice", - "choices": [ - "Persons", - "Evidence", - "Legal" - ] - }, - { - "title": "Metadata", - "name": "metadata", - "type": "choice", - "choices": [ - "full", - "original", - "none" - ], - "default": "full" - }, - { - "title": "Download", - "name": "download", - "type": "string", - "single": true - }, - { - "title": "Thumbnail", - "name": "thumbnail", - "type": "fields", - "fields": [ - { - "title": "URL", - "name": "url", - "type": "image" - }, - { - "title": "Author", - "name": "author", - "type": "string", - "single": true - }, - { - "title": "AuthorUrl", - "name": "authorUrl", - "type": "string" - }, - { - "title": "Origin", - "name": "origin", - "type": "string", - "single": true - }, - { - "title": "OriginUrl", - "name": "originUrl", - "type": "string" - } - ] - }, - { - "title": "Author", - "name": "author", - "type": "string", - "single": true - }, - { - "title": "Links", - "name": "navigationLinks", - "type": "list" - } - ] -} \ No newline at end of file diff --git a/.frontmatter/config/taxonomy/contenttypes/person.json b/.frontmatter/config/taxonomy/contenttypes/person.json index bd7da63..1b8dd07 100644 --- a/.frontmatter/config/taxonomy/contenttypes/person.json +++ b/.frontmatter/config/taxonomy/contenttypes/person.json @@ -42,12 +42,9 @@ { "title": "Categories", "name": "categories", - "type": "choice", - "choices": [ - "Persons", - "Evidence", - "Legal" - ] + "type": "string", + "single": true, + "default": "Person" }, { "title": "Weight", diff --git a/.frontmatter/config/taxonomy/contenttypes/post.json b/.frontmatter/config/taxonomy/contenttypes/post.json index 352c8dd..a83336a 100644 --- a/.frontmatter/config/taxonomy/contenttypes/post.json +++ b/.frontmatter/config/taxonomy/contenttypes/post.json @@ -32,13 +32,9 @@ { "title": "Categories", "name": "categories", - "type": "choice", - "choices": [ - "Persons", - "Evidence", - "Legal", - "Posts" - ] + "type": "string", + "single": true, + "default": "Post" }, { "title": "tags", diff --git a/.frontmatter/config/taxonomy/contenttypes/reason.json b/.frontmatter/config/taxonomy/contenttypes/reason.json new file mode 100644 index 0000000..9573e1d --- /dev/null +++ b/.frontmatter/config/taxonomy/contenttypes/reason.json @@ -0,0 +1,64 @@ +{ + "$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json", + "name": "reason", + "pageBundle": false, + "previewPath": null, + "fields": [ + { + "title": "Author", + "name": "author", + "type": "string", + "single": true, + "default": "Corrupt Lamar" + }, + { + "title": "Title", + "name": "title", + "type": "string", + "single": true + }, + { + "title": "Date", + "name": "date", + "type": "datetime", + "default": "{{now}}", + "isPublishDate": true + }, + { + "title": "Categories", + "name": "categories", + "type": "string", + "single": true, + "default": "reason" + }, + { + "title": "Weight", + "name": "weight", + "type": "number" + }, + { + "title": "draft", + "name": "draft", + "type": "draft" + }, + { + "title": "Thumbnail", + "name": "thumbnail", + "type": "image", + "default": "/img/logo.svg" + }, + { + "title": "ColorMode", + "name": "colormode", + "type": "boolean", + "default": "true" + }, + { + "title": "FrontMatter Content Type", + "name": "fmContentType", + "type": "string", + "single": true, + "default": "reason" + } + ] +} \ No newline at end of file -- cgit v1.2.3