API 字段
seo 随文章保存、备份与版本恢复一起保留。详情页渲染时:
title为空 → 使用文章标题desc为空 → 使用文章摘要 / 正文摘要canonical为空 → 使用站点SITE_URL+ 当前文章路径noindex为真 → 输出<meta name="robots" content="noindex">
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
文章级 SEO 覆盖与自动回退规则
| 字段 | 作用 |
|---|---|
title | SEO 标题,用于 <title>、Open Graph、Twitter Card 与 JSON-LD |
desc | meta description / 分享描述 |
canonical | 规范化 URL |
noindex | 为真时输出 noindex,阻止搜索引擎收录 |
{
"id": "article-slug",
"title": "文章标题",
"seo": {
"title": "自定义 SEO 标题",
"desc": "自定义描述",
"canonical": "https://example.com/posts/article-slug/",
"noindex": false
}
}
seo 随文章保存、备份与版本恢复一起保留。详情页渲染时:
title 为空 → 使用文章标题desc 为空 → 使用文章摘要 / 正文摘要canonical 为空 → 使用站点 SITE_URL + 当前文章路径noindex 为真 → 输出 <meta name="robots" content="noindex">