first commit
Some checks failed
Build,test and deploy reaktionsfaehig.net / deploy-prod (push) Failing after 6s
Some checks failed
Build,test and deploy reaktionsfaehig.net / deploy-prod (push) Failing after 6s
This commit is contained in:
commit
961f623c2d
8 changed files with 126 additions and 0 deletions
22
static/admin/config.yml
Normal file
22
static/admin/config.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
# when using the default proxy server port
|
||||
local_backend: true
|
||||
|
||||
backend:
|
||||
name: git-gateway
|
||||
branch: main
|
||||
media_folder: static/img
|
||||
public_folder: /img
|
||||
collections:
|
||||
- name: 'posts'
|
||||
label: 'Posts'
|
||||
folder: 'content/posts'
|
||||
create: true
|
||||
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
|
||||
editor:
|
||||
preview: false
|
||||
fields:
|
||||
- { label: 'Title', name: 'title', widget: 'string' }
|
||||
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
|
||||
- { label: 'Description', name: 'description', widget: 'string' }
|
||||
- { label: 'Body', name: 'body', widget: 'markdown' }
|
||||
|
13
static/admin/index.html
Normal file
13
static/admin/index.html
Normal file
|
@ -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>Content Manager</title>
|
||||
</head>
|
||||
<body>
|
||||
<!-- 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>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue