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
|
||||
branch: gatsby-v2
|
||||
|
||||
media_folder: "static/uploads"
|
||||
public_folder: "/uploads"
|
||||
media_folder: "content/media"
|
||||
public_folder: "/media"
|
||||
|
||||
collections:
|
||||
- name: "posts"
|
||||
label: "Posts"
|
||||
folder: "content/posts"
|
||||
create: true
|
||||
slug: "/{{year}}-{{month}}-{{day}}---{{slug}}/index.md"
|
||||
slug: "{{slug}}"
|
||||
fields:
|
||||
- {label: "Template", name: "template", widget: "hidden", default: "post"}
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
@ -26,7 +26,7 @@ collections:
|
||||
label: "Pages"
|
||||
folder: "content/pages"
|
||||
create: true
|
||||
slug: "/{{slug}}/index.md"
|
||||
slug: "{{slug}}"
|
||||
fields:
|
||||
- {label: "Template", name: "template", widget: "hidden", default: "page"}
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
|