Skip to content

Commit

Permalink
add example pages in CMS config
Browse files Browse the repository at this point in the history
  • Loading branch information
aloxe committed Dec 9, 2024
1 parent a363caa commit 4587504
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/_assets/public/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ collections:
- label: "Body"
name: "body"
widget: "markdown"
- name: "singlepage" # Used in routes, e.g., /admin/collections/blog
label: "Single page" # Used in the UI
folder: "src/pages/singlepage" # The path to the folder where the documents are stored
- name: "examples" # Used in routes, e.g., /admin/collections/blog
label: "Examples" # Used in the UI
folder: "src/pages/examples" # The path to the folder where the documents are stored
# about media and public folder https://decapcms.org/docs/collection-folder/#media-and-public-folder
media_folder: ''
public_folder: '/{{dirname}}/{{filename}}'
Expand All @@ -57,6 +57,9 @@ collections:
- label: "subtitle"
name: "subtitle"
widget: "string"
- label: "description"
name: "description"
widget: "string"
- label: "Body"
name: "body"
widget: "markdown"

0 comments on commit 4587504

Please sign in to comment.