Reorganize content
Before Width: | Height: | Size: 821 KiB After Width: | Height: | Size: 821 KiB |
Before Width: | Height: | Size: 948 KiB After Width: | Height: | Size: 948 KiB |
Before Width: | Height: | Size: 2.9 MiB After Width: | Height: | Size: 2.9 MiB |
Before Width: | Height: | Size: 656 KiB After Width: | Height: | Size: 656 KiB |
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 151 KiB |
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 2.7 MiB |
Before Width: | Height: | Size: 721 KiB After Width: | Height: | Size: 721 KiB |
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 319 KiB After Width: | Height: | Size: 319 KiB |
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 115 KiB |
@ -2,15 +2,15 @@ backend:
|
|||||||
name: git-gateway
|
name: git-gateway
|
||||||
branch: gatsby-v2
|
branch: gatsby-v2
|
||||||
|
|
||||||
media_folder: "static/uploads"
|
media_folder: "content/media"
|
||||||
public_folder: "/uploads"
|
public_folder: "/media"
|
||||||
|
|
||||||
collections:
|
collections:
|
||||||
- name: "posts"
|
- name: "posts"
|
||||||
label: "Posts"
|
label: "Posts"
|
||||||
folder: "content/posts"
|
folder: "content/posts"
|
||||||
create: true
|
create: true
|
||||||
slug: "/{{year}}-{{month}}-{{day}}---{{slug}}/index.md"
|
slug: "{{slug}}"
|
||||||
fields:
|
fields:
|
||||||
- {label: "Template", name: "template", widget: "hidden", default: "post"}
|
- {label: "Template", name: "template", widget: "hidden", default: "post"}
|
||||||
- {label: "Title", name: "title", widget: "string"}
|
- {label: "Title", name: "title", widget: "string"}
|
||||||
@ -26,7 +26,7 @@ collections:
|
|||||||
label: "Pages"
|
label: "Pages"
|
||||||
folder: "content/pages"
|
folder: "content/pages"
|
||||||
create: true
|
create: true
|
||||||
slug: "/{{slug}}/index.md"
|
slug: "{{slug}}"
|
||||||
fields:
|
fields:
|
||||||
- {label: "Template", name: "template", widget: "hidden", default: "page"}
|
- {label: "Template", name: "template", widget: "hidden", default: "page"}
|
||||||
- {label: "Title", name: "title", widget: "string"}
|
- {label: "Title", name: "title", widget: "string"}
|
||||||
|