| File was renamed from exampleSite/tina/config.ts |
| | |
| | | |
| | | build: { |
| | | outputFolder: "admin", |
| | | publicFolder: "exampleSite/static", |
| | | publicFolder: "static", |
| | | }, |
| | | media: { |
| | | tina: { |
| | | mediaRoot: "images", |
| | | publicFolder: "exampleSite/static", |
| | | publicFolder: "static", |
| | | }, |
| | | }, |
| | | schema: { |
| | |
| | | { |
| | | name: "docs", |
| | | label: "Docs", |
| | | path: "exampleSite/content/docs", |
| | | path: "content/docs", |
| | | frontmatterFormat: "toml", |
| | | frontmatterDelimiters: "+++", |
| | | format: "md", |
| | | fields: [ |
| | | { |
| | | type: "string", |
| | |
| | | { |
| | | name: "post", |
| | | label: "Posts", |
| | | path: "exampleSite/content/posts", |
| | | path: "content/blog", |
| | | frontmatterFormat: "toml", |
| | | frontmatterDelimiters: "+++", |
| | | format: "md", |
| | | fields: [ |
| | | { |
| | | type: "string", |
| | |
| | | label: "Author", |
| | | }, |
| | | { |
| | | type: "string", |
| | | name: "categories", |
| | | label: "Categories", |
| | | list: true |
| | | }, |
| | | { |
| | | type: "string", |
| | | name: "tags", |
| | | label: "Tags", |
| | | list: true |
| | | }, |
| | | { |
| | | type: "datetime", |
| | | name: "date", |
| | | label: "Date", |
| | |
| | | { |
| | | name: "tutorials", |
| | | label: "Tutorials", |
| | | path: "exampleSite/content/tutorials", |
| | | path: "content/tutorials", |
| | | frontmatterFormat: "toml", |
| | | frontmatterDelimiters: "+++", |
| | | format: "md", |
| | | fields: [ |
| | | { |
| | | type: "string", |