-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Description
Describe the bug
Can't open Decap in local environment
To Reproduce
open up static/admin/index in my repo
Expected behavior
open up Decap CMS UI
Screenshots
Applicable Versions:
- Decap CMS version:
decap-cms@3.6.3
- Git provider:
github
- Browser version:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0
CMS configuration
backend:
name: github
repo: SiteNexus/test-client
branch: main
media_folder: static/assets/uploads
public_folder: /static/assets/uploads
collections:
- name: pages
label: Pages
folder: content
create: true
slug: "{{slug}}"
editor:
preview: false
fields:
- label: Title
name: title
widget: string
hint: The main title of the page, appears in the browser tab and on the page.
- label: URL Slug
name: slug
widget: string
hint: The URL part for this page (e.g., 'about-us', 'contact'). Use lowercase
letters, numbers, and hyphens only.
- label: Meta Description (for SEO)
name: description
widget: text
required: false
hint: A short summary of the page for search engines (around 150-160
characters).
- label: Page Layout
name: layout
widget: select
options:
- label: Default (Content Only)
value: page
- label: Hero Image Top
value: hero
- label: Text with Side Image
value: side-image
- label: Image Gallery Top
value: gallery
- label: Services/Features Grid
value: services-grid
- label: Team Showcase
value: team-showcase
- label: Testimonial Wall
value: testimonial-wall
- label: FAQ Page (Accordion)
value: faq
- label: Pricing Table
value: pricing-table
default: page
required: true
hint: Choose the overall structure for this page.
- label: Main Page Content
name: body
widget: markdown
hint: The primary text content for this page. Appears after hero/side images, or
as the main content for default/FAQ/pricing layouts before their
specific item lists.
- label: Hero Image (for 'Hero Image Top' layout)
name: hero_image
widget: image
required: false
media_folder: "{{media_folder}}/hero"
public_folder: "{{public_folder}}/hero"
hint: Large banner image for the top of the page.
- label: Side Image (for 'Text with Side Image' layout)
name: side_image
widget: image
required: false
media_folder: "{{media_folder}}/side"
public_folder: "{{public_folder}}/side"
hint: Image appearing next to the main content.
- label: Side Image Position
name: side_image_position
widget: select
options:
- left
- right
default: left
required: false
hint: Position of the side image relative to text (for 'Text with Side Image'
layout).
- label: Gallery Section Title (Optional)
name: gallery_title
widget: string
required: false
hint: Title for the image gallery section (e.g., 'Our Portfolio'). Defaults to
'Image Gallery'.
- label: Gallery Images (for 'Image Gallery Top' layout or optional gallery on
other layouts)
name: gallery_images
widget: list
required: false
summary: "{{fields.image}}"
hint: Add images for a gallery. Used by 'Image Gallery Top' layout, or as an
optional section on 'Hero' and other layouts.
field:
label: Image
name: image
widget: image
media_folder: "{{media_folder}}/gallery"
public_folder: "{{public_folder}}/gallery"
- label: Default Alt Text for Gallery Images (Optional)
name: gallery_alt_te
...
Metadata
Metadata
Assignees
Labels
No labels