Skip to content

Commit

Permalink
Update .pages.yml (via Pages CMS)
Browse files Browse the repository at this point in the history
  • Loading branch information
judaicadhpenn committed Jan 11, 2025
1 parent 33e5d37 commit ddae7bd
Showing 1 changed file with 13 additions and 46 deletions.
59 changes: 13 additions & 46 deletions .pages.yml
Original file line number Diff line number Diff line change
@@ -1,66 +1,33 @@
# CMS Configuration for Starlight Astro Documentation Site
# CMS Configuration for Starlight Astro
collections:
# Documentation pages collection
docs:
label: "Documentation Pages"
path: "src/content/docs/{slug}.md"
# References collection for exhibits
references:
label: "Exhibits"
path: "src/content/reference/{slug}.md"
fields:
- name: "title"
label: "Page Title"
label: "Exhibit Title"
type: "string"
required: true
- name: "description"
label: "Short Description"
type: "string"
description: "A brief summary of the page content."
label: "Description"
type: "text"
description: "A short summary of the exhibit for SEO and previews."
- name: "slug"
label: "Slug"
type: "string"
description: "The URL path for this page."
description: "The URL path for this exhibit page."
required: true
- name: "draft"
label: "Draft"
type: "boolean"
default: false
description: "Mark as draft to exclude from production builds."
- name: "sidebar"
label: "Sidebar Group"
type: "string"
description: "Which sidebar category this page belongs to."
description: "Mark as draft to hide in production."
- name: "order"
label: "Order"
type: "number"
description: "The position of this page within the sidebar group."
description: "The order in the sidebar (optional)."
- name: "content"
label: "Page Content"
type: "markdown"
description: "The main content of the documentation page."

# References collection
references:
label: "References"
path: "src/content/references/{slug}.md"
fields:
- name: "title"
label: "Reference Title"
type: "string"
required: true
- name: "description"
label: "Description"
type: "text"
- name: "url"
label: "URL"
type: "string"
description: "External or internal reference link."
- name: "author"
label: "Author"
type: "string"
- name: "published_date"
label: "Published Date"
type: "date"
- name: "tags"
label: "Tags"
type: "list"
of:
type: "string"
description: "Keywords for filtering or categorizing references."
description: "The main content of the exhibit."

0 comments on commit ddae7bd

Please sign in to comment.