-
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
58 additions
and
19 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 |
---|---|---|
@@ -1,29 +1,64 @@ | ||
# config.yml | ||
backend: | ||
name: github | ||
repo: hello-ulises/ulises.us | ||
repo: hello-ulises/ulises-dev | ||
branch: main | ||
site_domain: pedantic-heyrovsky-2f6199.netlify.app | ||
site_domain: ulises-dev.netlify.app | ||
|
||
media_folder: assets/img | ||
site_url: http://ulises.us | ||
display_url: http://ulises.us | ||
site_url: https://dev.ulises.us | ||
display_url: https://dev.ulises.us | ||
logo_url: https://avatars.githubusercontent.com/u/23337776?s=200&v=4 | ||
locale: en | ||
|
||
collections: | ||
- name: 'posts' | ||
label: 'Posts' | ||
label_singular: 'Post' | ||
folder: '_posts/' | ||
- name: "posts" | ||
label: "Posts" | ||
label_singular: "Post" | ||
folder: "_posts/" | ||
create: true | ||
slug: '{{year}}-{{month}}-{{day}}-{{slug}}' | ||
slug: "{{year}}-{{month}}-{{day}}-{{slug}}" | ||
fields: | ||
- { name: 'title', label: 'Title', widget: 'string', description: 'This will appear as the post title' } | ||
- { name: 'date', label: 'Date', widget: 'datetime', description: 'Date of post affects in which order posts appear', date_format: "YYYY-MM-DD" } | ||
- { name: 'event_date', label: 'Event Date', widget: 'string', description: 'If applicable, enter date and time of event as it should appear in the text of the post', required: false } | ||
- { name: 'layout', label: 'Layout', widget: 'hidden', default: 'post' } | ||
- { name: 'categories', label: 'Column', widget: 'select', options: ["left", "right"], required: false } | ||
- { name: 'tags', label: 'Tags', widget: 'select', multiple: true, options: ['sticky','active-voice','intimacy'], required: false } | ||
- { name: 'published', label: 'Published', widget: 'boolean', default: true} | ||
- { name: 'body', label: 'Body', widget: 'markdown'} | ||
- { | ||
name: "title", | ||
label: "Title", | ||
widget: "string", | ||
description: "This will appear as the post title", | ||
} | ||
- { | ||
name: "date", | ||
label: "Date", | ||
widget: "datetime", | ||
description: "Date of post affects in which order posts appear", | ||
date_format: "YYYY-MM-DD", | ||
} | ||
- { | ||
name: "event_date", | ||
label: "Event Date", | ||
widget: "string", | ||
description: "If applicable, enter date and time of event as it should appear in the text of the post", | ||
required: false, | ||
} | ||
- { name: "layout", label: "Layout", widget: "hidden", default: "post" } | ||
- { | ||
name: "categories", | ||
label: "Column", | ||
widget: "select", | ||
options: ["left", "right"], | ||
required: false, | ||
} | ||
- { | ||
name: "tags", | ||
label: "Tags", | ||
widget: "select", | ||
multiple: true, | ||
options: ["sticky", "active-voice", "intimacy"], | ||
required: false, | ||
} | ||
- { | ||
name: "published", | ||
label: "Published", | ||
widget: "boolean", | ||
default: true, | ||
} | ||
- { name: "body", label: "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 |
---|---|---|
@@ -1,11 +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> | ||
</head> | ||
|
||
<body> | ||
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script> | ||
<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script> | ||
</body> | ||
</html> | ||
|
||
</html> |