ADD decap cms admin
This commit is contained in:
parent
0fc182a88d
commit
eca16077dc
2 changed files with 21 additions and 0 deletions
8
static/admin/config.yml
Normal file
8
static/admin/config.yml
Normal 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
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…
Reference in a new issue