added admin page to work.suroh
This commit is contained in:
parent
496e34eca2
commit
07f91313b0
|
@ -0,0 +1,51 @@
|
|||
backend:
|
||||
name: gitea
|
||||
repo: suroh/work.suroh.tk
|
||||
app_id: a4548791-8ff4-4ab1-bdfb-54798262ed2f
|
||||
api_root: https://git.suroh.tk/api/v1
|
||||
base_url: https://git.suroh.tk
|
||||
site_domain: localhost:8080
|
||||
branch: main
|
||||
|
||||
site_url: http://localhost:8080
|
||||
|
||||
media_folder: "assets/media/uploads"
|
||||
public_folder: "/media/uploads"
|
||||
|
||||
collections:
|
||||
- label: "Audio"
|
||||
name: "audio"
|
||||
folder: "_content/audio"
|
||||
create: true
|
||||
fields:
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
- {label: "Publish Date", name: "date", widget: "datetime"}
|
||||
- {label: "Published", name: "published", widget: "boolean"}
|
||||
- {label: "Featured Image", name: "imgFeat", widget: "image"}
|
||||
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } } }
|
||||
- {label: "Body", name: "body", widget: "markdown"}
|
||||
- {label: "Order", name: "sort", widget: "number"}
|
||||
- label: "Dev"
|
||||
name: "dev"
|
||||
folder: "_content/dev"
|
||||
create: true
|
||||
fields:
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
- {label: "Publish Date", name: "date", widget: "datetime"}
|
||||
- {label: "Published", name: "published", widget: "boolean"}
|
||||
- {label: "Featured Image", name: "imgFeat", widget: "image"}
|
||||
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } } }
|
||||
- {label: "Body", name: "body", widget: "markdown"}
|
||||
- {label: "Order", name: "sort", widget: "number"}
|
||||
- label: "Work"
|
||||
name: "work"
|
||||
folder: "_content/work"
|
||||
create: true
|
||||
fields:
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
- {label: "Publish Date", name: "date", widget: "datetime"}
|
||||
- {label: "Published", name: "published", widget: "boolean"}
|
||||
- {label: "Featured Image", name: "imgFeat", widget: "image"}
|
||||
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } } }
|
||||
- {label: "Body", name: "body", widget: "markdown"}
|
||||
- {label: "Order", name: "sort", widget: "number"}
|
|
@ -0,0 +1,13 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="robots" content="noindex" />
|
||||
<title>work.suroh : admin</title>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Include the script that builds the page and powers Decap CMS -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/decap-cms@^3.0.0/dist/decap-cms.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue