-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
3 changed files
with
41 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
*.log | ||
node_modules/ | ||
public/ | ||
pages/ |
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: master # Branch to update (master by default) | ||
|
||
media_folder: "media" # Folder where user uploaded files should go | ||
|
||
# This line should *not* be indented | ||
publish_mode: editorial_workflow | ||
|
||
collections: | ||
- name: "Post" # Used in routes, e.g., /admin/collections/blog | ||
label: "Post" # Used in the UI | ||
folder: "/" # The path to the folder where the documents are stored | ||
create: true # Allow users to create new documents in this collection | ||
slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md | ||
fields: # The fields for each document, usually in front matter | ||
- {label: "Title", name: "title", widget: "string"} | ||
- {label: "Publish Date", name: "date", widget: "datetime"} | ||
- {label: "Body", name: "body", widget: "markdown"} |
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,21 @@ | ||
<!doctype html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>NetlifyPress</title> | ||
|
||
<!-- Include the styles for the Netlify CMS UI, after your own styles --> | ||
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@^1.0.0/dist/cms.css" /> | ||
|
||
<!-- Note the "type" and "rel" attribute values, which are required. --> | ||
<link href="config.yml" type="text/yaml" rel="cms-config-url"> | ||
</head> | ||
|
||
<body> | ||
<!-- Include the script that builds the page and powers Netlify CMS --> | ||
<script src="https://unpkg.com/netlify-cms@^1.0.0/dist/cms.js"></script> | ||
</body> | ||
|
||
</html> |