Skip to content
Snippets Groups Projects
Commit bde84823 authored by Eloi Perdereau's avatar Eloi Perdereau
Browse files

bump netlify cms config

parent 925fde3f
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,13 @@ backend: ...@@ -4,7 +4,13 @@ backend:
name: git-gateway name: git-gateway
repo: CCLuminy/luminy.org repo: CCLuminy/luminy.org
branch: ccl # Branch to update (optional; defaults to master) branch: ccl # Branch to update (optional; defaults to master)
media_folder: 'assets/images/' media_folder: 'assets/images/'
publish_mode: editorial_workflow
site_url: https://ccl.test.luminy.org
display_url: https://ccl.test.luminy.org
custom_logo: assets/images/authors-logo/indien-petit.png
locale: fr
slug: slug:
encoding: "ascii" encoding: "ascii"
clean_accents: true clean_accents: true
......
...@@ -8,6 +8,13 @@ ...@@ -8,6 +8,13 @@
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script> <script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head> </head>
<body> <body>
<!-- Locale translate script -->
<script>
import CMS from 'netlify-cms-app';
import { fr } from 'netlify-cms-locales';
CMS.registerLocale('fr', fr);
</script>
<!-- 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="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
</body> </body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment