From 5affd7b8c1226e71e5a7c3f604d69b17aa6c0d28 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Tue, 9 Apr 2024 17:43:24 +0200 Subject: [PATCH] Add: Front Matter configs --- .frontmatter/database/mediaDb.json | 1 + .frontmatter/database/pinnedItemsDb.json | 1 + .frontmatter/database/taxonomyDb.json | 1 + .frontmatter/templates/article.md | 11 ++++ frontmatter.json | 76 ++++++++++++++++++++++++ 5 files changed, 90 insertions(+) create mode 100644 .frontmatter/database/mediaDb.json create mode 100644 .frontmatter/database/pinnedItemsDb.json create mode 100644 .frontmatter/database/taxonomyDb.json create mode 100644 .frontmatter/templates/article.md create mode 100644 frontmatter.json diff --git a/.frontmatter/database/mediaDb.json b/.frontmatter/database/mediaDb.json new file mode 100644 index 0000000..6492e75 --- /dev/null +++ b/.frontmatter/database/mediaDb.json @@ -0,0 +1 @@ +{"static":{"images":{"blog":{"how-to-use-schematics":{"how-to-use-schematics.png":{}}}}}} \ No newline at end of file diff --git a/.frontmatter/database/pinnedItemsDb.json b/.frontmatter/database/pinnedItemsDb.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.frontmatter/database/pinnedItemsDb.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/.frontmatter/database/taxonomyDb.json b/.frontmatter/database/taxonomyDb.json new file mode 100644 index 0000000..d575ee3 --- /dev/null +++ b/.frontmatter/database/taxonomyDb.json @@ -0,0 +1 @@ +{"taxonomy":{"categories":[]}} \ No newline at end of file diff --git a/.frontmatter/templates/article.md b/.frontmatter/templates/article.md new file mode 100644 index 0000000..6f1131f --- /dev/null +++ b/.frontmatter/templates/article.md @@ -0,0 +1,11 @@ +--- +title: +slug: +description: +author: +date: 2019-08-22T15:20:28.000Z +lastmod: 2019-08-22T15:20:28.000Z +draft: true +tags: [] +categories: [] +--- diff --git a/frontmatter.json b/frontmatter.json new file mode 100644 index 0000000..c53eb19 --- /dev/null +++ b/frontmatter.json @@ -0,0 +1,76 @@ +{ + "$schema": "https://frontmatter.codes/frontmatter.schema.json", + "frontMatter.preview.host": "http://localhost:1313/", + "frontMatter.content.pageFolders": [ + { + "title": "Content", + "path": "[[workspace]]/content", + "excludeSubdir": true + }, + { + "title": "Blog posts", + "path": "[[workspace]]/content/blog" + } + ], + "frontMatter.framework.id": "hugo", + "frontMatter.content.publicFolder": "static", + "frontMatter.content.autoUpdateDate": true, + "frontMatter.content.fmHighlight": true, + "frontMatter.dashboard.openOnStart": true, + "frontMatter.templates.enabled": true, + "frontMatter.data.files": [ + { + "id": "portfolio", + "title": "Portfolio", + "file": "[[workspace]]/data/", + "fileType": "yaml", + "type": "portfolio" + } + ], + "frontMatter.taxonomy.contentTypes": [ + { + "name": "default", + "pageBundle": false, + "previewPath": "blog/", + "fields": [ + { + "title": "Title", + "name": "title", + "type": "string" + }, + { + "title": "Publishing date", + "name": "date", + "type": "datetime", + "default": "{{now}}", + "isPublishDate": true + }, + { + "title": "lastmod", + "name": "lastmod", + "type": "datetime" + }, + { + "title": "Preview image", + "name": "image", + "type": "image" + }, + { + "title": "Description", + "name": "description", + "type": "string" + }, + { + "title": "Tags", + "name": "tags", + "type": "tags" + }, + { + "title": "Draft", + "name": "draft", + "type": "draft" + } + ] + } + ] +} \ No newline at end of file