feat: SEO/GEO升级——SSR趋势列表/详情页、sitemap动态化(每日趋势URL)、llms.txt趋势说明;小程序sitemap.json搜索收录+趋势分享动态标题;看板移动端溢出修复
This commit is contained in:
@@ -200,10 +200,13 @@ function getSampleData() {
|
||||
|
||||
// 微信小程序分享
|
||||
// #ifdef MP-WEIXIN
|
||||
onShareAppMessage(() => ({
|
||||
title: 'AI 维度 - 你的AI知识助手',
|
||||
path: '/pages/index/index'
|
||||
}))
|
||||
onShareAppMessage(() => {
|
||||
const latest = (items.value || [])[0]
|
||||
return {
|
||||
title: latest ? `今日AI速递:${String(latest.title).slice(0, 24)}… · AI维度` : 'AI 维度 · 每天 5 分钟看懂 AI 大事',
|
||||
path: '/pages/trend/trend'
|
||||
}
|
||||
})
|
||||
// #endif
|
||||
</script>
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
|
||||
"rules": [
|
||||
{ "action": "allow", "page": "*" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user