Skip to content

Commit

Permalink
add part-1
Browse files Browse the repository at this point in the history
  • Loading branch information
aloxe committed Dec 9, 2024
1 parent 4587504 commit fc4d176
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/_assets/public/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,27 @@ collections:
- label: "Body"
name: "body"
widget: "markdown"
- name: "part-1" # Used in routes, e.g., /admin/collections/blog
label: "Part 1" # Used in the UI
folder: "src/pages/examples/part-1" # 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}}'
create: true # Allow users to create new documents in this collection
fields: # All the fields for each document, usually in front matter + body
- label: "Layout"
name: "layout"
widget: "hidden"
default: "base"
- label: "Title"
name: "title"
widget: "string"
- label: "subtitle"
name: "subtitle"
widget: "string"
- label: "description"
name: "description"
widget: "string"
- label: "Body"
name: "body"
widget: "markdown"
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed src/static/img/vera-davidova.jpg
Binary file not shown.

0 comments on commit fc4d176

Please sign in to comment.