RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
30
types/seo.json5
Normal file
30
types/seo.json5
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
// Equivalent to: CF_SEO interface
|
||||
name: "seo",
|
||||
description: "SEO meta (title, robots, description; inherited by page/post)",
|
||||
tags: ["seo", "partial"],
|
||||
category: "layout",
|
||||
fields: {
|
||||
seoTitle: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "SEO page title"
|
||||
},
|
||||
seoMetaRobots: {
|
||||
type: "string",
|
||||
enum: [
|
||||
"index, follow",
|
||||
"noindex, follow",
|
||||
"index, nofollow",
|
||||
"noindex, nofollow"
|
||||
],
|
||||
default: "index, follow",
|
||||
description: "Robots meta directive",
|
||||
},
|
||||
seoDescription: {
|
||||
type: "string",
|
||||
maxLength: 160,
|
||||
description: "Meta description for search engines"
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user