diff options
Diffstat (limited to 'frontmatter.json')
| -rw-r--r-- | frontmatter.json | 116 |
1 files changed, 115 insertions, 1 deletions
diff --git a/frontmatter.json b/frontmatter.json index 8c4ad67..46ee4ef 100644 --- a/frontmatter.json +++ b/frontmatter.json @@ -1,7 +1,6 @@ { "$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, @@ -10,4 +9,119 @@ "frontMatter.framework.id": "hugo", "frontMatter.git.enabled": true, "frontMatter.preview.host": "http://192.168.1.99:1313", + "frontMatter.taxonomy.contentTypes": [ + { + "name": "default", + "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": "Metadata", + "name": "metadata", + "type": "string" + }, + { + "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" + }, + { + "title": "categories", + "name": "categories", + "type": "categories" + } + ] + } + ] }
\ No newline at end of file |
