RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
34
content/en/post/beispielpost.json5
Normal file
34
content/en/post/beispielpost.json5
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
// Entry identifier (URL slug / filename without extension)
|
||||
_slug: "beispielpost",
|
||||
// ── Post-eigene Felder ─────────────────────────────────
|
||||
slug: "beispielpost",
|
||||
linkName: "Beispielpost",
|
||||
icon: "article",
|
||||
headline: "Ein Beispielpost",
|
||||
subheadline: "Mit allen erweiterten Feldern",
|
||||
excerpt: "Kurze Vorschau für Listen und Teaser.",
|
||||
postImage: "", // Referenz auf img-Entry (Slug)
|
||||
postTag: [
|
||||
"rust",
|
||||
"cms"
|
||||
],
|
||||
important: false,
|
||||
date: "2026-02-15",
|
||||
content: "# Einleitung\n\nHier steht der **Hauptinhalt** des Posts in Markdown. Absätze und _Formatierung_ werden unterstützt.\n\n## Überschriften und Listen\n\n- Erster Listenpunkt\n- Zweiter mit **Fett** und _Kursiv_\n- Dritter Punkt\n\n## Code und Zitate\n\n`Rust` eignet sich gut für sichere Systeme. Ein kurzer Code-Schnipsel:\n\n```\nfn main() {\n println!(\"Hallo von RustyCMS!\");\n}\n```\n\n> Ein Blockzitat passt gut für Hervorhebungen oder Zitate aus anderen Quellen.\n\n## Abschluss\n\nWeitere Absätze mit normalem Fließtext. [Links](https://example.com) und Bilder sind ebenfalls möglich.",
|
||||
showCommentSection: true,
|
||||
// ── SEO (geerbt von seo) ──────────────────────────────
|
||||
seoTitle: "Beispielpost – RustyCMS",
|
||||
seoMetaRobots: "index, follow",
|
||||
seoDescription: "Ein Beispielpost mit allen Feldern des erweiterten Post-Schemas.",
|
||||
// ── Content-Layout (geerbt von content_layout) ────────
|
||||
row1JustifyContent: "start",
|
||||
row1AlignItems: "stretch",
|
||||
row1Content: [],
|
||||
row2JustifyContent: "start",
|
||||
row2AlignItems: "stretch",
|
||||
row2Content: [],
|
||||
row3JustifyContent: "start",
|
||||
row3AlignItems: "stretch",
|
||||
row3Content: [],
|
||||
}
|
||||
Reference in New Issue
Block a user