-
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.
Deploying to gh-pages from @ bea650c 🚀
- Loading branch information
1 parent
26c7d2d
commit 21a0dc2
Showing
2 changed files
with
46 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
backend: | ||
name: github | ||
repo: binary-builders/binary.builders | ||
branch: dev # Specifically targeting the dev branch for v2 | ||
base_url: https://binary.builders/v2 | ||
|
||
media_folder: static/images | ||
public_folder: /images | ||
|
||
collections: | ||
- name: "posts" | ||
label: "Posts" | ||
folder: "content/posts" | ||
create: true | ||
slug: "{{year}}-{{month}}-{{day}}-{{slug}}" | ||
fields: | ||
- {label: "Title", name: "title", widget: "string"} | ||
- {label: "Publish Date", name: "date", widget: "datetime"} | ||
- {label: "Featured Image", name: "image", widget: "image", required: false} | ||
- {label: "Description", name: "description", widget: "text"} | ||
- {label: "Body", name: "body", widget: "markdown"} | ||
- {label: "Tags", name: "tags", widget: "list", required: false} | ||
- {label: "Draft", name: "draft", widget: "boolean", default: true} | ||
|
||
- name: "pages" | ||
label: "Pages" | ||
folder: "content/pages" | ||
create: true | ||
fields: | ||
- {label: "Title", name: "title", widget: "string"} | ||
- {label: "Description", name: "description", widget: "text"} | ||
- {label: "Body", name: "body", widget: "markdown"} | ||
- {label: "Menu", name: "menu", widget: "select", options: ["main"], required: false} | ||
- {label: "Draft", name: "draft", widget: "boolean", default: true} |
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,12 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Binary Builders v2 Content Manager</title> | ||
</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> |