RustyCMS: file-based headless CMS — API, Admin UI (content, types, assets), Docker/Caddy, image transform; only demo type and demo content in version control
Made-with: Cursor
This commit is contained in:
@@ -1,62 +0,0 @@
|
||||
{
|
||||
// Corresponds to CF_Post_Overview / Contentful_Post_Overview.ts (extends CF_Content, CF_SEO)
|
||||
name: "post_overview",
|
||||
description: "Post listing page with layout and SEO",
|
||||
tags: ["content", "blog"],
|
||||
category: "content",
|
||||
extends: [
|
||||
"content_layout",
|
||||
"seo"
|
||||
],
|
||||
fields: {
|
||||
id: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Unique post overview ID",
|
||||
},
|
||||
headline: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Headline",
|
||||
},
|
||||
text: {
|
||||
type: "richtext",
|
||||
description: "Intro text",
|
||||
},
|
||||
layout: {
|
||||
type: "object",
|
||||
useFields: "component_layout",
|
||||
description: "Column width (grid)",
|
||||
},
|
||||
allPosts: {
|
||||
type: "boolean",
|
||||
default: false,
|
||||
description: "Show all posts (otherwise filter)",
|
||||
},
|
||||
filterByTag: {
|
||||
type: "array",
|
||||
items: {
|
||||
type: "reference",
|
||||
collection: "tag",
|
||||
},
|
||||
description: "Only posts with these tags",
|
||||
},
|
||||
posts: {
|
||||
type: "array",
|
||||
items: {
|
||||
type: "reference",
|
||||
collection: "post",
|
||||
},
|
||||
description: "Fixed list of posts (when not allPosts)",
|
||||
},
|
||||
numberItems: {
|
||||
type: "integer",
|
||||
description: "Max. number of displayed entries",
|
||||
},
|
||||
design: {
|
||||
type: "string",
|
||||
enum: ["cards", "list"],
|
||||
description: "Display as cards or list",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user