Skip to content

Commit

Permalink
fix(decap-cms): allow creating pages and modules
Browse files Browse the repository at this point in the history
  • Loading branch information
yajo committed Dec 23, 2024
1 parent f726ec0 commit 42bac15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ site_url: https://oca-docs.netlify.app

collections:
- name: page
create: true
label: Pages
folder: content
fields:
- { label: "Title", name: "title", widget: "string" }
- { label: "Body", name: "body", widget: "markdown" }
- name: module
create: true
label: Modules
folder: content/module
slug: "{{ technical_name }}"
Expand Down

0 comments on commit 42bac15

Please sign in to comment.