Setup Decap CMS and Content Collection for Biodiversity
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
backend:
|
||||
name: gitea # ACHTUNG: Wenn du GitLab nutzt, ändere das in 'gitlab'
|
||||
repo: fberger/brabetz-homepage
|
||||
api_root: https://git.brabros.de/api/v1 # Für GitLab: https://git.brabros.de/api/v4
|
||||
branch: main
|
||||
|
||||
media_folder: "src/images"
|
||||
public_folder: "src/images"
|
||||
|
||||
collections:
|
||||
- name: "pages"
|
||||
label: "Seiten"
|
||||
files:
|
||||
- file: "src/content/biodiversity/biotope.md"
|
||||
label: "Biotop-Bausteine"
|
||||
name: "biotope"
|
||||
fields:
|
||||
- { label: "Titel", name: "title", widget: "string" }
|
||||
- { label: "Beschreibung", name: "description", widget: "string" }
|
||||
- label: "Items"
|
||||
name: "items"
|
||||
widget: "list"
|
||||
fields:
|
||||
- { label: "Titel", name: "title", widget: "string" }
|
||||
- { label: "Beschreibung", name: "description", widget: "text" }
|
||||
- { label: "Technik", name: "technique", widget: "string" }
|
||||
- { label: "Location", name: "location", widget: "string" }
|
||||
- { label: "Icon", name: "icon", widget: "string" }
|
||||
Reference in New Issue
Block a user