test static cms

This commit is contained in:
maxime-cool 2024-01-15 17:06:29 +01:00
parent 55f63240bb
commit daaae3a13f
2 changed files with 24 additions and 0 deletions

8
admin/config.yml Normal file
View file

@ -0,0 +1,8 @@
backend:
name: gitea
repo: maximeg/palettetest # Path to your Gitea repository
app_id: bfbd2107-f7a5-42be-8901-589294019980 # The Client ID provided by Gitea
api_root: https://git.deuxfleurs.fr/api # API URL of your Gitea instance
base_url: https://git.deuxfleurs.fr # Root URL of your Gitea instance
# optional, defaults to main
# branch: main

16
admin/index.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^3.0.0/dist/main.css" />
<title>Content Manager</title>
</head>
<body>
<!-- Include the script that builds the page and powers Static CMS -->
<script src="https://unpkg.com/@staticcms/app@^3.0.0/dist/static-cms-app.js"></script>
<script>
window.CMS.init();
</script>
</body>
</html>