RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Peter Meier
2026-02-16 09:30:30 +01:00
commit aad93d145f
224 changed files with 19225 additions and 0 deletions

62
types/post_overview.json5 Normal file
View File

@@ -0,0 +1,62 @@
{
// 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",
},
},
}