backend:
  auth_methods:
  - token
  branch: main
  name: github
  repo: kaveenr/cloud
collections:
- create: true
  fields:
  - label: Title
    name: title
    widget: string
  - label: Description
    name: description
    widget: string
  - format: YYYY-MM-DD
    label: Date
    name: date
    widget: datetime
  - label: Thumbnail
    name: thumbnail
    required: false
    widget: image
  - field:
      label: Photo
      name: src
      widget: image
    hint: 'Upload the photos for this gallery here (saved directly into this entry''s folder). The site displays every image already in the folder automatically, so this list itself isn''t read by Hugo - it just gives you an upload/browse UI.'
    label: Gallery
    name: gallery
    required: false
    widget: list
  - label: Tags
    name: tags
    required: false
    widget: list
  - hint: Camera / lens equipment used.
    label: Gear
    name: gear
    required: false
    widget: list
  - default:
    - photos
    label: Category
    name: category
    widget: hidden
  - default: photos
    label: Type
    name: type
    widget: hidden
  - default: '{{slug}}'
    label: Slug
    name: slug
    widget: hidden
  - label: Body
    name: body
    widget: markdown
  folder: website/content/photos
  label: Photos
  media_folder: ''
  name: photos
  path: '{{slug}}/index'
  public_folder: ''
- create: true
  fields:
  - label: Title
    name: title
    widget: string
  - label: Description
    name: description
    widget: string
  - format: YYYY-MM-DD
    label: Date
    name: date
    widget: datetime
  - label: Thumbnail
    name: thumbnail
    required: false
    widget: image
  - label: Category
    name: category
    required: false
    widget: list
  - label: Tags
    name: tags
    required: false
    widget: list
  - label: Series
    name: series
    required: false
    widget: list
  - default: post
    label: Type
    name: type
    widget: hidden
  - default: '{{slug}}'
    label: Slug
    name: slug
    widget: hidden
  - default: true
    label: Draft
    name: draft
    widget: boolean
  - label: Body
    name: body
    widget: markdown
  - hint: Only used for posts tagged with the 'projects' category; link shown on the /category/projects 'View' button.
    label: Project URL
    name: projecturl
    required: false
    widget: string
  folder: website/content/posts
  label: Blog Posts
  media_folder: ''
  name: posts
  path: '{{slug}}/index'
  public_folder: ''
locale: en-us
media_folder: website/static/uploads
public_folder: /uploads
search: true
site_url: https://ukr.lk/
