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,48 +0,0 @@
{
name: "blog_post",
description: "Simple blog post with title, body, tags and publish status",
tags: ["content", "blog"],
category: "content",
fields: {
title: {
type: "string",
required: true,
minLength: 1,
maxLength: 200,
description: "Title of the blog post",
},
body: {
type: "markdown",
required: true,
minLength: 1,
description: "Main content (Markdown)",
},
excerpt: {
type: "string",
maxLength: 500,
description: "Short summary for previews",
},
author: {
type: "string",
description: "Author name"
},
tags: {
type: "array",
items: {
type: "string"
},
description: "Categorisation tags"
},
published: {
type: "boolean",
default: false,
description: "Whether the post is publicly visible"
},
created_at: {
type: "datetime",
auto: true,
readonly: true,
description: "Creation timestamp (auto-generated)"
},
}
}