-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b0d4194
commit 710e3fc
Showing
3 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
backend: | ||
name: git-gateway | ||
branch: main | ||
|
||
media_folder: static/img | ||
public_folder: /img | ||
|
||
collections: | ||
- name: 'news' | ||
label: 'Historique' | ||
folder: 'content/news' | ||
format: 'frontmatter' | ||
create: true | ||
slug: '{{year}}-{{month}}-{{day}}-{{slug}}' | ||
editor: | ||
preview: false | ||
fields: | ||
- { label: 'Date', name: 'date', widget: 'datetime' } | ||
- { label: 'Texte bannière', name: 'newsBannerText' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Content Manager</title> | ||
<!-- Include the script that enables Netlify Identity on this page. --> | ||
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script> | ||
</head> | ||
<body> | ||
<!-- Include the script that builds the page and powers Decap CMS --> | ||
<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script> | ||
</body> | ||
</html> |