Feature/docs (#67)

This commit is contained in:
Daniel Lautzenheiser
2022-11-04 17:41:12 -04:00
committed by GitHub
parent 7a1ec55a5c
commit 81ca566b5e
152 changed files with 1862 additions and 3832 deletions

View File

@ -105,23 +105,23 @@ Your `config.yml` for GitHub should look like this:
```yml
backend:
title: git-gateway
name: git-gateway
branch: main # Branch to update (optional; defaults to main)
media_folder: "static/uploads"
public_folder: "/uploads"
collections:
- title: "posts"
- name: "posts"
label: "Posts"
folder: "posts"
create: true
slug: "{{slug}}"
fields:
- {label: "Title", title: "title", widget: "string"}
- {label: "Excerpt", title: "excerpt", widget: "string"}
- {label: "Publish Date", title: "date", widget: "datetime"}
- {label: "Body", title: "body", widget: "markdown"}
- {label: "Title", name: "title", widget: "string"}
- {label: "Excerpt", name: "excerpt", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Body", name: "body", widget: "markdown"}
```
## Push to GitHub