Skip to content

Commit

Permalink
Create _config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oopshnik authored Oct 8, 2024
1 parent fe1a9a9 commit 7b6a4ab
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
backend:
name: git-gateway
branch: main
media_folder: "assets/uploads"
public_folder: "/"

collections:
- name: "posts"
label: "Посты"
folder: "_posts"
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
fields:
- { label: "Заголовок", name: "title", widget: "string" }
- { label: "Дата", name: "date", widget: "datetime" }
- { label: "Содержание", name: "body", widget: "markdown" }
- { label: "Изображение", name: "thumbnail", widget: "image" }

publish_mode: editorial_workflow

0 comments on commit 7b6a4ab

Please sign in to comment.