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" }
|
||||
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Content Manager</title>
|
||||
<!-- Include the script that builds the page and powers Decap CMS -->
|
||||
<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user