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: backend:
name: github name: gitea
repo: superboum/quentin.dufour.io repo: quentin/quentin.dufour.io
base_url: http://oauth.localhost:3000 base_url: http://teabag.deuxfleurs.fr
api_root: https://git.deuxfleurs.fr/api/v1
branch: master
media_folder: 'assets/' media_folder: 'assets/'
publish_mode: editorial_workflow #publish_mode: editorial_workflow
site_url: https://quentin.dufour.io site_url: https://quentin.dufour.io
display_url: https://quentin.dufour.io display_url: https://quentin.dufour.io
locale: 'fr' locale: 'fr'

View file

@ -5,10 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Content Manager</title> <title>Content Manager</title>
<!-- Include the identity widget --> <!-- Include the identity widget -->
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js" type="text/javascript"></script>
</head> </head>
<body> <body>
<!-- Include the script that builds the page and powers Netlify CMS --> <!-- 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> </body>
</html> </html>

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

File diff suppressed because one or more lines are too long