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 8b86138 commit 8297da7
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions .pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,26 @@ content:
description: "A short summary of the exhibit for SEO and previews."
- name: "date"
label: "Publication Date"
type: "date"
type: "string"
- name: "hero"
label: "Hero Section"
type: "object"
fields:
- name: "title"
label: "Hero Title"
type: "string"
- name: "image"
type: "image"
options:
path: src/assets
extensions: [ jpg, jpeg, png ]
- name: "tagline"
label: "Tagline"
type: "string"
- name: "slug"
label: "Slug"
type: "string"
required: false
required: true
description: "The URL path for this exhibit page."
- name: "tableOfContents"
label: "Table of Contents"
Expand All @@ -64,23 +69,7 @@ content:
type: "string"
default: "doc"
description: "Defines the template type for rendering this page."
- name: "media"
label: "Media"
type: "object"
description: "Add media such as images, documents, or videos."
fields:
- name: "image"
label: "Main Image URL"
type: "string"
description: "The URL to the main exhibit image."
- name: "file"
label: "Downloadable File"
type: "string"
description: "The URL to a downloadable file (PDF, DOCX, etc.)."
- name: "video"
label: "Video Embed URL"
type: "string"
description: "A URL to an embedded video (YouTube, Vimeo, etc.)."

- name: "body"
label: "Page Body"
type: "rich-text" # or use "rich-text" for WYSIWYG editor
Expand Down

0 comments on commit 8297da7

Please sign in to comment.