Files
memind/index.html
T
john f281f15788
Memind CI / Test, build, and release guards (pull_request) Failing after 3m21s
feat(seo): 固化 m.tkmind.cn 百度验证、推送与 sitemap 去重
让 Portal 首页稳定注入站长验证 meta,并提供 sitemap 批量推送脚本与 LaunchAgent 安装入口;sitemap/llms 对同页优先保留 /u/ canonical URL。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 16:28:46 +08:00

40 lines
1.6 KiB
HTML

<!doctype html>
<html lang="zh-CN" data-theme="light">
<head>
<meta name="baidu-site-verification" content="codeva-32NHQfJ8qL" />
<meta charset="UTF-8" />
<meta name="theme-color" content="#f4f1ea" />
<script>
(function () {
var storageKey = 'memind-theme';
var migrationKey = 'memind-theme-migration';
var migrationVersion = 'light-default-2026-09-12';
if (localStorage.getItem(migrationKey) !== migrationVersion) {
var previousMigration = localStorage.getItem(migrationKey);
var stored = localStorage.getItem(storageKey);
if (previousMigration === 'dark-default-2026-09-11' && stored !== 'light') {
localStorage.setItem(storageKey, 'light');
}
localStorage.setItem(migrationKey, migrationVersion);
}
var theme = localStorage.getItem(storageKey) === 'dark' ? 'dark' : 'light';
document.documentElement.dataset.theme = theme;
document.documentElement.style.colorScheme = theme;
var meta = document.querySelector('meta[name="theme-color"]');
if (meta) meta.setAttribute('content', theme === 'dark' ? '#0f1419' : '#f4f1ea');
})();
</script>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"
/>
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>TKMind</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>