add decap cms
This commit is contained in:
parent
344c8c3fe3
commit
7e5499b5c9
4 changed files with 42 additions and 37 deletions
21
public/admin/config.yml
Normal file
21
public/admin/config.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
backend:
|
||||
name: gitea
|
||||
repo: aleidk/blog-content
|
||||
app_id: baae6ee4-8fa3-4e14-9523-130a006d2478
|
||||
api_root: 'https://codeberg.org/api/v1'
|
||||
base_url: 'https://codeberg.org'
|
||||
branch: main
|
||||
media_folder: src/content/attachments
|
||||
collections:
|
||||
- name: posts
|
||||
label: Blog Posts
|
||||
folder: src/pages/blog
|
||||
create: true
|
||||
delete: true
|
||||
fields:
|
||||
- name: title
|
||||
widget: string
|
||||
label: Post Title
|
||||
- name: body
|
||||
widget: markdown
|
||||
label: Post Body
|
||||
Loading…
Add table
Add a link
Reference in a new issue