Reorganize content

This commit is contained in:
alxshelepenok
2019-01-21 15:26:08 +03:00
parent f9a5cb1093
commit 90b98e4fdc
11 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ backend:
name: git-gateway
branch: gatsby-v2
media_folder: "content/media"
media_folder: "static/media"
public_folder: "/media"
collections:
@@ -10,7 +10,7 @@ collections:
label: "Posts"
folder: "content/posts"
create: true
slug: "{{slug}}"
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
fields:
- {label: "Template", name: "template", widget: "hidden", default: "post"}
- {label: "Title", name: "title", widget: "string"}