New: Admin section
This commit is contained in:
39
static/admin/config.yml
Normal file
39
static/admin/config.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
backend:
|
||||
name: gitea
|
||||
repo: VanEmous/Website
|
||||
branch: main
|
||||
app_id: e101b13a-70b5-474b-88de-fd4254408a68
|
||||
api_root: https://git.start-it.nl/api/v1
|
||||
base_url: https://git.start-it.nl
|
||||
auth_endpoint: https://git.start-it.nl/login/oauth/authorize
|
||||
local_backend: true
|
||||
auth_type: implicit
|
||||
|
||||
media_folder: "static/img"
|
||||
public_folder: "/img"
|
||||
|
||||
collections:
|
||||
- name: "pages"
|
||||
label: "Pagina's"
|
||||
files:
|
||||
- file: "content/_index.md"
|
||||
label: "Homepagina"
|
||||
name: "home"
|
||||
fields:
|
||||
- { label: "Titel", name: "title", widget: "string" }
|
||||
|
||||
- label: "Mogelijkheden Header"
|
||||
name: "possibilities_header"
|
||||
widget: "object"
|
||||
fields:
|
||||
- { label: "Titel", name: "title", widget: "string" }
|
||||
- { label: "Intro Tekst", name: "text", widget: "text" }
|
||||
|
||||
- label: "Mogelijkheden Kaarten"
|
||||
name: "possibilities_cards"
|
||||
widget: "list"
|
||||
fields:
|
||||
- { label: "Kaart Titel", name: "title", widget: "string" }
|
||||
- { label: "Omschrijving", name: "description", widget: "text" }
|
||||
- { label: "Link naar", name: "link", widget: "string" }
|
||||
- { label: "Afbeelding", name: "image", widget: "image" }
|
||||
Reference in New Issue
Block a user