frontmatter.json

This commit is contained in:
MultiMote 2023-11-22 15:37:25 +03:00
parent b5bd486bb0
commit 563f6a43cd
2 changed files with 58 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
.frontmatter

57
frontmatter.json Normal file
View File

@ -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": ""
}
]
}