16 lines
408 B
Go
16 lines
408 B
Go
package proto
|
|
|
|
// SeoInfo 页面SEO信息,用于前端渲染 title、meta 和 canonical。
|
|
type SeoInfo struct {
|
|
// 页面标题
|
|
Title string `json:"title"`
|
|
// 页面关键词
|
|
Keywords []string `json:"keywords"`
|
|
// 页面描述
|
|
Description string `json:"description"`
|
|
// 网站名称
|
|
WebSiteName string `json:"webSiteName"`
|
|
// 当前内容的标准URL
|
|
CanonicalURL string `json:"canonicalUrl"`
|
|
}
|