From 15b891cb660f07a14f8b1821b885919d46697853 Mon Sep 17 00:00:00 2001 From: anoduck <11767-anoduck@users.noreply.gitgud.io> Date: Sat, 5 Oct 2024 13:42:46 -0400 Subject: fix(content): :bug: Type corrected Changed frontmatter field from deprecated layout to type. --- frontmatter.json | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 frontmatter.json (limited to 'frontmatter.json') diff --git a/frontmatter.json b/frontmatter.json new file mode 100644 index 0000000..063eaf7 --- /dev/null +++ b/frontmatter.json @@ -0,0 +1,59 @@ +{ + "$schema": "https://beta.frontmatter.codes/frontmatter.schema.json", + "frontMatter.content.publicFolder": "static", + "frontMatter.taxonomy.contentTypes": [ + { + "name": "default", + "pageBundle": false, + "previewPath": null, + "fields": [ + { + "title": "Title", + "name": "title", + "type": "string" + }, + { + "title": "Description", + "name": "description", + "type": "string" + }, + { + "title": "Publishing date", + "name": "date", + "type": "datetime", + "default": "{{now}}", + "isPublishDate": true + }, + { + "title": "Content preview", + "name": "preview", + "type": "image" + }, + { + "title": "Is in draft", + "name": "draft", + "type": "draft" + }, + { + "title": "Tags", + "name": "tags", + "type": "tags" + }, + { + "title": "Categories", + "name": "categories", + "type": "categories" + } + ] + } + ], + "frontMatter.content.pageFolders": [ + { + "title": "content", + "path": "[[workspace]]/content" + } + ], + "frontMatter.framework.id": "hugo", + "frontMatter.git.enabled": true, + "frontMatter.preview.host": "http://localhost:1313" +} \ No newline at end of file -- cgit v1.2.3