diff --git a/.gitignore b/.gitignore index e69de29..4a5b6b8 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +.frontmatter diff --git a/frontmatter.json b/frontmatter.json new file mode 100644 index 0000000..1e5e51e --- /dev/null +++ b/frontmatter.json @@ -0,0 +1,57 @@ +{ + "$schema": "https://frontmatter.codes/frontmatter.schema.json", + "frontMatter.framework.id": "hugo", + "frontMatter.content.publicFolder": "static", + "frontMatter.preview.host": "http://localhost:1313", + "frontMatter.taxonomy.dateFormat": "yyyy-MM-dd'T'HH:mm:ssxxx", + "frontMatter.taxonomy.indentArrays": false, + "frontMatter.content.autoUpdateDate": true, + "frontMatter.taxonomy.contentTypes": [ + { + "name": "default", + "pageBundle": true, + "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": "Is in draft", + "name": "draft", + "type": "draft" + }, + { + "title": "Tags", + "name": "tags", + "type": "tags" + }, + { + "title": "Categories", + "name": "categories", + "type": "categories" + } + ] + } + ], + "frontMatter.content.pageFolders": [ + { + "title": "posts", + "path": "[[workspace]]/content/posts", + "filePrefix": "" + } + ] +}