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:
Peter Meier
2026-03-12 14:21:49 +01:00
parent aad93d145f
commit 7795a238e1
278 changed files with 15551 additions and 4072 deletions

View File

@@ -1,37 +0,0 @@
{
// Corresponds to CF_ComponentHeadline / Contentful_Headline.ts
name: "headline",
description: "Headline component with optional layout",
tags: ["component", "layout"],
category: "components",
fields: {
internal: {
type: "string",
required: true,
description: "Internal key",
},
text: {
type: "string",
required: true,
description: "Headline text",
},
tag: {
type: "string",
required: true,
enum: ["h1", "h2", "h3", "h4", "h5", "h6"],
default: "h2",
description: "HTML tag for headline",
},
layout: {
type: "object",
useFields: "component_layout",
description: "Column width (grid) like CF_ComponentLayout",
},
align: {
type: "string",
enum: ["left", "center", "right"],
default: "left",
description: "Text alignment",
},
},
}