mirror of https://github.com/onweru/compose.git

weru
02.30.2023 0d47f204d5eefad7ff9b7293cc1b3056effe43ad
exampleSite/tina/config.js
File was renamed from exampleSite/tina/config.ts
@@ -10,12 +10,12 @@
  build: {
    outputFolder: "admin",
    publicFolder: "exampleSite/static",
    publicFolder: "static",
  },
  media: {
    tina: {
      mediaRoot: "images",
      publicFolder: "exampleSite/static",
      publicFolder: "static",
    },
  },
  schema: {
@@ -23,7 +23,10 @@
      {
        name: "docs",
        label: "Docs",
        path: "exampleSite/content/docs",
        path: "content/docs",
        frontmatterFormat: "toml",
        frontmatterDelimiters: "+++",
        format: "md",
        fields: [
          {
            type: "string",
@@ -53,7 +56,10 @@
      {
        name: "post",
        label: "Posts",
        path: "exampleSite/content/posts",
        path: "content/blog",
        frontmatterFormat: "toml",
        frontmatterDelimiters: "+++",
        format: "md",
        fields: [
          {
            type: "string",
@@ -68,6 +74,18 @@
            label: "Author",
          },
          {
            type: "string",
            name: "categories",
            label: "Categories",
            list: true
          },
          {
            type: "string",
            name: "tags",
            label: "Tags",
            list: true
          },
          {
            type: "datetime",
            name: "date",
            label: "Date",
@@ -88,7 +106,10 @@
      {
        name: "tutorials",
        label: "Tutorials",
        path: "exampleSite/content/tutorials",
        path: "content/tutorials",
        frontmatterFormat: "toml",
        frontmatterDelimiters: "+++",
        format: "md",
        fields: [
          {
            type: "string",