From 8297da795473e39c5b1ceacdf84b5b017d0cffdb Mon Sep 17 00:00:00 2001 From: judaicadhpenn <157063908+judaicadhpenn@users.noreply.github.com> Date: Fri, 10 Jan 2025 21:00:56 -0500 Subject: [PATCH] Update .pages.yml (via Pages CMS) --- .pages.yml | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/.pages.yml b/.pages.yml index dac4260..27a309e 100644 --- a/.pages.yml +++ b/.pages.yml @@ -31,7 +31,7 @@ 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" @@ -39,13 +39,18 @@ content: - 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" @@ -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