Add basic Decap CMS files
This commit is contained in:
parent
39ab74b9b8
commit
a3d16bd0b6
|
@ -0,0 +1,26 @@
|
|||
display_url: "https://docs.coopcloud.tech/"
|
||||
logo_url: "/img/coop_cloud_logo_pink.png"
|
||||
backend:
|
||||
name: gitea
|
||||
repo: coop-cloud/docs.coopcloud.tech
|
||||
branch: main
|
||||
app_id: c5bb5fe3-d24d-4246-b790-7455a271d1e8
|
||||
site_domain: docs.coopcloud.tech
|
||||
api_root: https://git.coopcloud.tech/api/v1
|
||||
base_url: https://git.coopcloud.tech
|
||||
auth_endpoint: https://git.coopcloud.tech/login/oauth/authorize
|
||||
media_folder: img
|
||||
public_folder: /img
|
||||
collections:
|
||||
- name: 'docs'
|
||||
label: 'Docs'
|
||||
create: true
|
||||
folder: 'docs/'
|
||||
slug: '{{slug}}'
|
||||
fields:
|
||||
- label: 'Title'
|
||||
name: 'title'
|
||||
widget: 'string'
|
||||
- label: "Body"
|
||||
name: "body"
|
||||
widget: "markdown"
|
|
@ -0,0 +1,12 @@
|
|||
<!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>Co-op Cloud: Docs Editor</title>
|
||||
</head>
|
||||
<body>
|
||||
<script src="https://unpkg.com/decap-cms@latest/dist/decap-cms.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue