-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed as not planned
Closed as not planned
Copy link
Description
Describe the bug
To Reproduce
Expected behavior
Screenshots
Applicable Versions:
- Decap CMS version:
[email protected]
- Git provider:
git-gateway
- Browser version:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
CMS configuration
backend:
name: git-gateway
branch: main
media_folder: public/uploads
public_folder: /uploads
site_url: http://localhost:5175
display_url: http://localhost:5175
collections:
- name: trending_stories
label: Trending Stories
folder: src/content/trending
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
fields:
- label: Title
name: title
widget: string
- label: Description
name: description
widget: text
- label: Category
name: category
widget: select
options:
- music
- scandal
- celebrity
- culture
- politics
- sports
- label: Color Theme
name: color
widget: select
options:
- saisa-text-blue
- saisa-text-pink
- saisa-text-yellow
- saisa-text-red
- label: Featured Image
name: featured_image
widget: image
required: false
- label: Media Files
name: media
widget: list
required: false
field:
label: Media File
name: file
widget: image
- label: Author Details
name: author
widget: object
fields:
- label: Author Name
name: name
widget: string
- label: Author Role
name: role
widget: string
- label: Author Avatar
name: avatar
widget: image
required: false
- label: Content
name: body
widget: markdown
- label: Publish Date
name: date
widget: datetime
- label: Is Active
name: isActive
widget: boolean
default: true
- label: Featured
name: featured
widget: boolean
default: false
- label: Tags
name: tags
widget: list
default: []
- label: Copyright Status
name: copyrightStatus
widget: select
options:
- pending
- approved
- flagged
- rejected
default: pending
- label: Copyright Checked
name: copyrightChecked
widget: boolean
default: false
- label: Post to Blog
name: postToBlog
widget: boolean
default: false
hint: Check this to automatically post this trending story to the blog
- label: Blog Post ID
name: blogPostId
widget: string
required: false
hint: Auto-generated when posted to blog
- label: Publish to Blog
name: publishToBlog
widget: boolean
default: false
hint: Check this to publish this story to the blog immediately
- label: Blog Status
name: blogStatus
widget: select
options:
- draft
- published
- archived
default: draft
- label: 🚀 PUBLISH TO BLOG
name: publishButton
widget: string
required: false
hint: Click the floating orange 'PUBLISH TO BLOG' button in the top-right corner
to publish this story to your blog immediately!
publish: true
type: folder_based_collection
sortable_fields:
- commit_date
- title
- date
- commit_author
- description
view_filters: []
view_groups: []
editor:
preview: true
- name: blog_posts
label: Blog Posts
folder: src/content/blog
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
fields:
- label: Title
name: title
widget: string
...
mamoun90
Metadata
Metadata
Assignees
Labels
No labels