diff options
| author | anoduck <11767-anoduck@users.noreply.gitgud.io> | 2024-10-08 14:07:32 -0400 |
|---|---|---|
| committer | anoduck <11767-anoduck@users.noreply.gitgud.io> | 2024-10-08 14:08:35 -0400 |
| commit | 4839241851bae57f4a394f1e3ef2699940d0a3d4 (patch) | |
| tree | 61fab54910689278c99b294f3ddd98d9e32baf5e /frontmatter.json | |
| parent | 596be0164f5c940ae7a086024178a0c6fffd709e (diff) | |
feat(content): :memo: DevUI & Content
Further configuration of FrontMatter UI && Additions to Persons
Diffstat (limited to 'frontmatter.json')
| -rw-r--r-- | frontmatter.json | 282 |
1 files changed, 227 insertions, 55 deletions
diff --git a/frontmatter.json b/frontmatter.json index 1a80a2c..cba4b52 100644 --- a/frontmatter.json +++ b/frontmatter.json @@ -1,6 +1,12 @@ { "$schema": "https://beta.frontmatter.codes/frontmatter.schema.json", + "frontMatter.git.enbled": true, + "frontMatter.content.wysiwyg": true, "frontMatter.content.publicFolder": "assets/img", + "frontMatter.taxonomy.slugTemplate": "{{seoTitle}}", + "frontMatter.taxonomy.alignFilename": true, + "frontMatter.templates.enabled": true, + "frontMatter.templates.folder": ".frontmatter/templates", "frontMatter.taxonomy.contentTypes": [ { "name": "default", @@ -10,7 +16,8 @@ { "title": "Title", "name": "title", - "type": "string" + "type": "string", + "single": true }, { "title": "Date", @@ -27,14 +34,7 @@ { "title": "Draft", "name": "draft", - "type": "draft", - "default": "true" - }, - { - "title": "Type", - "name": "type", - "type": "string", - "default": "default" + "type": "draft" }, { "title": "Tags", @@ -44,7 +44,19 @@ { "title": "Icon", "name": "icon", - "type": "string" + "type": "string", + "single": true + }, + { + "title": "Type", + "name": "type", + "type": "choice", + "choices": [ + "default", + "docs", + "minimal" + ], + "default": "default" }, { "title": "Metadata", @@ -54,7 +66,8 @@ { "title": "Download", "name": "download", - "type": "string" + "type": "string", + "single": true }, { "title": "Thumbnail", @@ -69,7 +82,8 @@ { "title": "Author", "name": "author", - "type": "string" + "type": "string", + "single": true }, { "title": "AuthorUrl", @@ -79,7 +93,8 @@ { "title": "Origin", "name": "origin", - "type": "string" + "type": "string", + "single": true }, { "title": "OriginUrl", @@ -91,7 +106,8 @@ { "title": "Author", "name": "author", - "type": "string" + "type": "string", + "single": true }, { "title": "Links", @@ -108,7 +124,8 @@ { "title": "Title", "name": "title", - "type": "string" + "type": "string", + "single": true }, { "title": "Description", @@ -121,22 +138,38 @@ "type": "string" }, { + "title": "Categories", + "name": "categories", + "type": "choice", + "choices": [ + "Persons", + "Evidence", + "Legal" + ] + }, + { "title": "Type", "name": "type", - "type": "string", + "type": "choice", + "choices": [ + "default", + "docs", + "minimal" + ], "default": "docs" } ] }, { - "name": "Docs", + "name": "Minimal", "pageBundle": false, "previewPath": null, "fields": [ { "title": "Title", "name": "title", - "type": "string" + "type": "string", + "single": true }, { "title": "Description", @@ -146,7 +179,12 @@ { "title": "Type", "name": "type", - "type": "string", + "type": "choice", + "choices": [ + "default", + "docs", + "minimal" + ], "default": "minimal" } ] @@ -194,55 +232,189 @@ "single": true, "default": "" } - ] - } - }, - "frontMatter.data.files": [{ - "id": "timeline", - "title": "Timeline", - "file": "[[workspace]]/data/timeline.yml", - "fileType": "yaml", - "schema": { - "title": "Timeline", - "type": "object", - "required": [ - "title", - "date" ], - "properties": { - "title": { + "isMediaSnippet": true + }, + "Persona": { + "description": "Profile Card", + "body": "{{< persona thumbnail=\"[[Thumbnail]]\" title=\"{{title}}\" color=\"[[color]]\" >}}", + "isMediaSnippet": true, + "fields": [ + { + "name": "Thumbnail", + "title": "Thumbnail", + "type": "string", + "single": true, + "default": "" + }, + { + "name": "color", + "title": "color", + "type": "string", + "single": true, + "default": "" + } + ] + }, + "Link": { + "description": "Managed Link Insertion", + "body": "{{< link title=\"[[Title]]\" url=\"[[Url]]\" cue=[[true|false]] [[Link Name]] >}}", + "fields": [ + { + "name": "Title", + "title": "Title", + "type": "string", + "single": true, + "default": "" + }, + { + "name": "Url", + "title": "Url", + "type": "string", + "single": true, + "default": "" + }, + { + "name": "true|false", + "title": "true|false", "type": "string", - "title": "Title" + "single": true, + "default": "" }, - "date": { + { + "name": "Link Name", + "title": "Link Name", + "type": "string", + "single": true, + "default": "" + } + ] + }, + "Docs": { + "description": "Show Contents of Toml", + "body": "{{< docs name=\"[[Section]]\" file=\"[[File Path]]\" id=[[docs-collapse-{X}]] >}}", + "fields": [ + { + "name": "Section", + "title": "Section", "type": "string", - "title": "Date" + "single": true, + "default": "" }, - "icon": { + { + "name": "File Path", + "title": "File Path", "type": "string", - "title": "Icon" + "single": true, + "default": "" }, - "color": { + { + "name": "docs-collapse-{X}", + "title": "docs-collapse-{X}", "type": "string", - "title": "Color" + "single": true, + "default": "" + } + ] + }, + "File": { + "description": "Display Entire Contents of File", + "body": "{{< file path=[[File Path]] id=\"[[file-collapse-{x}]]\" >}}", + "fields": [ + { + "name": "File Path", + "title": "File Path", + "type": "string", + "single": true, + "default": "" }, - "url": { + { + "name": "file-collapse-{x}", + "title": "file-collapse-{x}", "type": "string", - "title": "URL" + "single": true, + "default": "" + } + ] + }, + "Map": { + "description": "Inject a Map", + "body": "{{< map lat=[[Latitude]] long=[[Longitude]] popup=[[Display Text]] >}}", + "fields": [ + { + "name": "Latitude", + "title": "Latitude", + "type": "string", + "single": true, + "default": "" }, - "content": { + { + "name": "Longitude", + "title": "Longitude", "type": "string", - "title": "Content" + "single": true, + "default": "" + }, + { + "name": "Display Text", + "title": "Display Text", + "type": "string", + "single": true, + "default": "" + } + ] + } + }, + "frontMatter.data.files": [ + { + "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" + } } } } - }], - "frontMatter.data.folders": [{ - "id": "authors", - "path": "[[workspace]]/data", - "singleEntry": false, - "enableFileCreation": true, - "fileType": "yaml", - "type": "data" - }] + ], + "frontMatter.data.folders": [ + { + "id": "authors", + "path": "[[workspace]]/data", + "singleEntry": false, + "enableFileCreation": true, + "fileType": "yaml", + "type": "data" + } + ] }
\ No newline at end of file |
