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

View File

@@ -0,0 +1,33 @@
{
// Reusable partial (CF_ComponentLayout) no own collection.
name: "component_layout",
description: "Reusable grid layout (mobile/tablet/desktop columns)",
tags: ["layout", "partial"],
category: "layout",
reusable: true,
fields: {
mobile: {
type: "string",
required: true,
enum: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
default: "12",
description: "Width on mobile (112)",
},
tablet: {
type: "string",
enum: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
description: "Width on tablet (optional)",
},
desktop: {
type: "string",
enum: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
description: "Width on desktop (optional)",
},
spaceBottom: {
type: "number",
enum: [0, 0.5, 1, 1.5, 2],
default: 0,
description: "Space below (rem)",
},
},
}