first commit
This commit is contained in:
22
static/admin/config.yml
Normal file
22
static/admin/config.yml
Normal file
@ -0,0 +1,22 @@
|
||||
backend:
|
||||
name: gitea
|
||||
repo: p4pillon/avecsante.app # Path to your Gitea repository
|
||||
app_id: 15f9538f-2258-416a-8827-3035e8adc4df
|
||||
api_root: https://forge.p4pillon.org/api/v1 # API URL of your Gitea instance
|
||||
base_url: https://forge.p4pillon.org # Root URL of your Gitea instance
|
||||
branch: main
|
||||
media_folder: static/img
|
||||
public_folder: /img
|
||||
collections:
|
||||
- name: 'docs'
|
||||
label: 'Docs'
|
||||
folder: 'content/docs'
|
||||
create: true
|
||||
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
|
||||
editor:
|
||||
preview: true
|
||||
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' }
|
14
static/admin/index.html
Normal file
14
static/admin/index.html
Normal file
@ -0,0 +1,14 @@
|
||||
<!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 enables Netlify Identity on this page. -->
|
||||
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
|
||||
</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>
|
Reference in New Issue
Block a user