ADD decap cms admin
All checks were successful
build-to-pages / build (push) Successful in 37s
build-to-pages / push (push) Successful in 15s

This commit is contained in:
Hoernschen 2024-01-28 16:46:50 +01:00
parent 0fc182a88d
commit eca16077dc
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
2 changed files with 21 additions and 0 deletions

8
static/admin/config.yml Normal file
View file

@ -0,0 +1,8 @@
backend:
name: gitea
repo: hoernschen/website # Path to your Gitea repository
app_id: 6f1e6454-c3e7-42d2-aa8b-f2c0807bc084 # The Client ID provided by Gitea
api_root: https://code.nutfactory.org/api/v1 # API URL of your Gitea instance
base_url: https://code.nutfactory.org # Root URL of your Gitea instance
# optional, defaults to master
# branch: main

13
static/admin/index.html Normal file
View 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>