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

@@ -6,11 +6,20 @@
"description": "Entry identifier (URL slug / filename without extension)",
"type": "string"
},
"content": {
"description": "Post body (Markdown)",
"type": "string"
},
"created": {
"format": "date-time",
"readOnly": true,
"type": "string"
},
"date": {
"description": "Optional display date",
"format": "date-time",
"type": "string"
},
"excerpt": {
"description": "Short summary for previews",
"maxLength": 500,
@@ -22,12 +31,38 @@
"icon": {
"type": "string"
},
"important": {
"default": false,
"description": "Mark post as important",
"type": "boolean"
},
"linkName": {
"type": "string"
},
"postImage": {
"description": "Featured image",
"type": "string"
"oneOf": [
{
"description": "Reference (slug) to collection 'img'",
"type": "string"
},
{
"properties": {
"description": {
"description": "Alt text / description",
"type": "string"
},
"src": {
"description": "Image URL",
"type": "string"
}
},
"required": [
"src"
],
"type": "object"
}
]
},
"postTag": {
"description": "Associated tags",
@@ -50,9 +85,9 @@
"type": "string"
},
"row1Content": {
"description": "Content components for row 1 (Markdown blocks)",
"description": "Content components for row 1 (Markdown, Post Overview, HTML, Headline, Image, …)",
"items": {
"description": "Reference (slug) to collection 'markdown'",
"description": "Reference (slug) to one of: markdown, post_overview, html, headline, image, quote, youtube_video, image_gallery, iframe, searchable_text, fullwidth_banner, list",
"type": "string"
},
"type": "array"
@@ -84,7 +119,7 @@
"row2Content": {
"description": "Content components for row 2",
"items": {
"description": "Reference (slug) to collection '?'",
"description": "Reference (slug) to one of: markdown, post_overview, html, headline, image, quote, youtube_video, image_gallery, iframe, searchable_text, fullwidth_banner, list",
"type": "string"
},
"type": "array"
@@ -115,7 +150,7 @@
"row3Content": {
"description": "Content components for row 3",
"items": {
"description": "Reference (slug) to collection '?'",
"description": "Reference (slug) to one of: markdown, post_overview, html, headline, image, quote, youtube_video, image_gallery, iframe, searchable_text, fullwidth_banner, list",
"type": "string"
},
"type": "array"
@@ -152,29 +187,16 @@
"description": "SEO page title",
"type": "string"
},
"showCommentSection": {
"default": true,
"description": "Show comment section (default: true)",
"type": "boolean"
},
"slug": {
"type": "string"
},
"subheadline": {
"type": "string"
},
"content": {
"description": "Post body (Markdown/HTML)",
"type": "string"
},
"date": {
"description": "Optional display date",
"format": "date-time",
"type": "string"
},
"important": {
"description": "Mark post as important",
"type": "boolean"
},
"showCommentSection": {
"default": true,
"description": "Show comment section (default: true)",
"type": "boolean"
}
},
"required": [