backend:
name: git-gateway
branch: master # Branch to update (optional; defaults to master)
publish_mode: editorial_workflow
media_folder: static/uploads # This is here because it is required, our posts collection overrides it to empty
public_folder: /uploads # This is here because it is required, our posts collection overrides it to empty
display_url: https://thetaliaferrotimes.org
logo_url: https://thetaliaferrotimes.org/logo.png
collections:
- name: posts
label: Posts
label_singular: Post
folder: content/
create: true
path: '{{year}}/{{slug}}/index'
media_folder: ''
public_folder: ''
fields:
- label: Title
name: title
widget: string
- label: Author
name: author
widget: string
- label: Date
name: date
widget: datetime
- label: Publish Date
name: publishDate
widget: datetime
- label: Description (usually don't use - one is generated automatically)
name: description
widget: string
- label: Resources
name: resources
widget: object
fields:
- label: Name
name: name
widget: hidden
default: "preview"
- label: Image
name: src
widget: image
- label: Image Description
name: imageDescription
widget: string
- label: Image Attribution
name: imageAttribution
widget: string
default: "First Last on Unsplash"
- label: Tags
name: tags
widget: select
multiple: true
options: ["btw-news", "column", "creative-writing", "editorial", "event", "international-news", "interview", "local-news", "national-news", "opinion", "other", "photography", "poetry", "report", "review"]
- label: Updated? - toggle if changed on separate date
name: updated
widget: boolean
default: false
- label: Comments (do not enable)
name: comments
widget: hidden
default: false
- label: Table of Contents
name: tableOfContents
widget: boolean
default: false
- label: Description (usually don't use - one is generated automatically)
name: description
widget: hidden
default: ""
- label: pandoc (advanced use only)
name: pandoc
widget: hidden
default: false
- label: Body
name: body
widget: markdown