Add Sveltia CMS configuration and admin interface files
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# yaml-language-server: $schema=https://unpkg.com/@sveltia/cms/schema/sveltia-cms.json
|
||||
|
||||
backend:
|
||||
name: gitea
|
||||
repo: Chill-project/manuals
|
||||
base_url: https://gitea.champs-libres.be
|
||||
api_root: https://gitea.champs-libres.be/api/v1
|
||||
|
||||
media_folder: /user/docs
|
||||
# public_folder: /user/site/media
|
||||
|
||||
collections:
|
||||
- name: docs
|
||||
label: Documentations
|
||||
label_singular: Documentation
|
||||
folder: /user/docs
|
||||
format: raw
|
||||
extension: md
|
||||
fields:
|
||||
- { label: Body, name: body, widget: markdown }
|
||||
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="robots" content="noindex" />
|
||||
<title>Sveltia CMS</title>
|
||||
</head>
|
||||
<body>
|
||||
<script src="https://unpkg.com/@sveltia/cms/dist/sveltia-cms.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user