add static cms

This commit is contained in:
Quentin 2023-02-27 18:51:18 +01:00
parent f8f29c280d
commit ab1b5c541e
Signed by untrusted user: quentin
GPG key ID: E9602264D639FF68
3 changed files with 1021 additions and 6 deletions

View file

@ -1,9 +1,12 @@
backend:
name: github
repo: superboum/quentin.dufour.io
base_url: http://oauth.localhost:3000
name: gitea
repo: quentin/quentin.dufour.io
base_url: http://teabag.deuxfleurs.fr
api_root: https://git.deuxfleurs.fr/api/v1
branch: master
media_folder: 'assets/'
publish_mode: editorial_workflow
#publish_mode: editorial_workflow
site_url: https://quentin.dufour.io
display_url: https://quentin.dufour.io
locale: 'fr'

View file

@ -5,10 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Content Manager</title>
<!-- Include the identity widget -->
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js" type="text/javascript"></script>
</head>
<body>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
<script src="static-cms-app.js"></script>
<script>CMS.init()</script>
</body>
</html>

1012
admin/static-cms-app.js Normal file

File diff suppressed because one or more lines are too long