fix: media not displaying with local backend (#324)

This commit is contained in:
Daniel Lautzenheiser
2023-01-10 12:49:12 -05:00
committed by GitHub
parent a9e0770fd0
commit 9dba066ca4
12 changed files with 69 additions and 69 deletions

View File

@ -1,17 +1,18 @@
backend:
name: github
branch: main
repo: owner/repo
media_folder: static/media
public_folder: /media
repo: staticjscms/static-cms-github
local_backend: true
media_folder: assets/upload
public_folder: /assets/upload
collections:
- name: posts
label: Posts
label_singular: Post
media_folder: /assets/posts
public_folder: /assets/posts
description: >
The description is a great place for tone setting, high level information,
and editing guidelines that are specific to a collection.
@ -94,8 +95,6 @@ collections:
- name: settings
label: Settings
delete: false
editor:
preview: false
files:
- name: general
label: Site Settings