Skip to content

Instantly share code, notes, and snippets.

@numoonchld
Created September 13, 2019 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save numoonchld/10ffe8c302b79a57c585481cca6c8ea7 to your computer and use it in GitHub Desktop.
Save numoonchld/10ffe8c302b79a57c585481cca6c8ea7 to your computer and use it in GitHub Desktop.
---
backend:
name: git-gateway
branch: master
publish_mode: editorial_workflow
media_folder: images/uploads
site_url: https://nmc-wme.netlify.com
collections:
- name: pages
label: Pages
delete: false
files:
- label: Course List
name: courselist
file: _data/courselist.yml
editor:
preview: false
delete: false
fields:
- label: Courses
label_singular: Course
name: courses
widget: list
fields:
- label: Course Name
name: name
widget: string
- label: Course URL
name: url
widget: string
required: false
- label: Course Group
name: group
widget: select
options:
- Project
- ESRI
- EAWAG
- label: Course Group List
name: grouplist
file: _data/grouplist.yml
editor:
preview: false
delete: false
fields:
- label: Course Groups
label_singular: Course Group
name: coursegroups
widget: list
fields:
- label: Course Group Name
name: name
widget: string
- label: Source URL
name: url
widget: string
required: false
- label: Progress Board
name: progressboard
file: _data/trelloboard.yml
editor:
preview: false
delete: false
fields:
- label: board-url
name: board-url
widget: string
- name: posts
label: Posts
label_singular: Post
folder: _posts
create: true
delete: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
fields:
- label: Layout
name: layout
widget: hidden
default: post
- label: Title
name: title
widget: string
- label: Publish Date
name: date
widget: datetime
- label: Featured Image
name: thumbnail
widget: image
required: false
- label: Course
name: course
widget: select
options:
- Project
- Introduction to Household Water Treatment and Safe Storage
- Going Places with Spatial Analysis
- label: Body
name: body
widget: markdown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment