Get decap CMS working
ci/woodpecker/manual/woodpecker Pipeline was successful
Details
ci/woodpecker/manual/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
926206a1a5
commit
9afcaf6827
|
@ -1,19 +1,19 @@
|
|||
backend:
|
||||
name: gitea
|
||||
repo: mattcen/hugo-cms-test # Path to your Gitea repository
|
||||
repo: mattcen/mattcens_mumblings # Path to your Gitea repository
|
||||
app_id: 27deeec5-b711-4181-8ad7-efd8b28286a8 # The Client ID provided by Gitea
|
||||
api_root: https://git.mattcen.com/api/v1 # API URL of your Gitea instance
|
||||
base_url: https://git.mattcen.com # Root URL of your Gitea instance
|
||||
# optional, defaults to master
|
||||
branch: main
|
||||
|
||||
media_folder: "site/static/img" # Folder where user uploaded files should go
|
||||
public_folder: "img"
|
||||
media_folder: "static/images" # Folder where user uploaded files should go
|
||||
public_folder: "images"
|
||||
|
||||
collections: # A list of collections the CMS should be able to edit
|
||||
- name: "post" # Used in routes, ie.: /admin/collections/:slug/edit
|
||||
- name: "posts" # Used in routes, ie.: /admin/collections/:slug/edit
|
||||
label: "Post" # Used in the UI, ie.: "New Post"
|
||||
folder: "site/content/post" # The path to the folder where the documents are stored
|
||||
folder: "content/posts" # The path to the folder where the documents are stored
|
||||
create: true # Allow users to create new documents in this collection
|
||||
fields: # The fields each document in this collection have
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
|
@ -24,7 +24,7 @@ collections: # A list of collections the CMS should be able to edit
|
|||
- name: "pages"
|
||||
label: "Pages"
|
||||
files:
|
||||
- file: "site/content/_index.md"
|
||||
- file: "content/_index.md"
|
||||
label: "Home Page"
|
||||
name: "home"
|
||||
fields:
|
||||
|
@ -43,7 +43,7 @@ collections: # A list of collections the CMS should be able to edit
|
|||
- {label: "Values", name: "values", widget: "object", fields: [
|
||||
{label: "Heading", name: "heading", widget: string},
|
||||
{label: "Text", name: "text", widget: "text"}]}
|
||||
- file: "site/content/contact/_index.md"
|
||||
- file: "content/contact/_index.md"
|
||||
label: "Contact Page"
|
||||
name: "contact"
|
||||
fields:
|
||||
|
@ -60,7 +60,7 @@ collections: # A list of collections the CMS should be able to edit
|
|||
- label: Text
|
||||
name: text
|
||||
widget: text
|
||||
- file: "site/content/products/_index.md"
|
||||
- file: "content/products/_index.md"
|
||||
label: "Products Page"
|
||||
name: "products"
|
||||
fields:
|
||||
|
@ -71,7 +71,7 @@ collections: # A list of collections the CMS should be able to edit
|
|||
- {label: Testimonials, name: testimonials, widget: list, fields: [{label: Quote, name: quote, widget: string}, {label: Author, name: author, widget: string}]}
|
||||
- {label: Full_image, name: full_image, widget: image}
|
||||
- {label: Pricing, name: pricing, widget: object, fields: [{label: Heading, name: heading, widget: string}, {label: Description, name: description, widget: string}, {label: Plans, name: plans, widget: list, fields: [{label: Plan, name: plan, widget: string}, {label: Price, name: price, widget: string}, {label: Description, name: description, widget: string}, {label: Items, name: items, widget: list}]}]}
|
||||
- file: "site/content/values/_index.md"
|
||||
- file: "content/values/_index.md"
|
||||
label: "Values Page"
|
||||
name: "values"
|
||||
fields:
|
||||
|
@ -87,13 +87,13 @@ collections: # A list of collections the CMS should be able to edit
|
|||
- name: "site_settings"
|
||||
label: "Site Settings"
|
||||
files:
|
||||
- file: "site/data/footer.json"
|
||||
- file: "data/footer.json"
|
||||
label: Footer
|
||||
name: footer
|
||||
fields:
|
||||
- {label: Title, name: title, widget: string}
|
||||
- {label: Blurb, name: blurb, widget: text}
|
||||
- file: "site/config.toml"
|
||||
- file: "config.yml"
|
||||
label: Hugo Config
|
||||
name: config
|
||||
editor:
|
||||
|
|
Loading…
Reference in New Issue