forked from quentin/quentin.dufour.io
add static cms
This commit is contained in:
parent
f8f29c280d
commit
ab1b5c541e
3 changed files with 1021 additions and 6 deletions
|
@ -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'
|
||||
|
|
|
@ -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
1012
admin/static-cms-app.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue