first commit

This commit is contained in:
2024-01-04 16:06:58 +01:00
commit 81430e044a
134 changed files with 8696 additions and 0 deletions

50
static/admin/config.yml Normal file
View File

@ -0,0 +1,50 @@
locale: 'fr'
backend:
name: gitea
repo: Weko/LaMelio # Path to your Gitea repository
app_id: 15f9538f-2258-416a-8827-3035e8adc4df
api_root: https://git.resilien.fr/api/v1 # API URL of your Gitea instance
base_url: https://git.resilien.fr # Root URL of your Gitea instance
branch: main
media_folder: static/img
public_folder: /img
collections:
- name: 'docs'
label: 'Docs'
folder: 'content/docs'
nested: { depth: 5 }
create: true
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Titre', name: 'title', widget: 'string' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Résumé', name: 'summary', widget: 'string' }
- { label: 'Date de publication', name: 'date', widget: 'datetime' }
- { label: 'Date de mise à jour', name: 'lastmod', widget: 'datetime' }
- { label: 'Brouillon', name: 'draft', widget: 'boolean', default: true }
- {
label: 'Menu', name: 'menu', widget: 'object', required: false, collapsed: true,
fields: [
{
label: 'docs', name: 'docs', widget: 'object', required: false, collapsed: true,
fields: [
{ label: 'Parent', name: 'parent', widget: 'string' },
{ label: 'Identifiant', name: 'identifier', widget: 'string' }
]
}
]
}
- { label: 'Poid', name: 'weight', widget: 'number', value_type: 'integer' }
- { label: 'toc', name: 'toc', widget: 'boolean', default: true }
- {
label: 'SEO', name: 'seo', widget: 'object', required: false, collapsed: true,
fields: [
{ label: 'Titre', name: 'title', widget: 'string' },
{ label: 'Description', name: 'description', widget: 'string' },
{ label: 'Canonical', name: 'canonical', widget: 'string' },
{ label: 'noindex', name: 'noindex', widget: 'boolean', default: false }
]
}
- { label: 'Body', name: 'body', widget: 'markdown' }

12
static/admin/index.html Normal file
View File

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<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>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.