-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (62 loc) · 2.22 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>脑机技术</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="keywords" content="马斯克,脑机,脑机技术,脑机接口,脑科学,BCI,Neuralink,记忆提取,ALS患者,元宇宙,NFT,虚拟现实,VR,AR,残疾人创业项目" />
<meta name="description" content="一个专注脑机接口相关知识分享的Neuralink Wiki" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple-dark.css" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css">
</head>
<body>
<div id="app">正在猛烈加载中...</div>
<div id="gitalk-container"></div>
<script>
window.$docsify = {
name: "脑机技术",
logo: '/assets/logo.jpg',
repo: "https://github.com/dahuotu/neuralinkdoc.git",
loadNavbar: true,
loadSidebar: true,
subMaxLevel: 4,
alias: {
"/.*/_navbar.md": "/_navbar.md",
"/.*/_sidebar.md": "/_sidebar.md",
},
// 完整配置参数
search: {
maxAge: 86400000,
paths: [],
placeholder: "搜索",
noData: "找不到结果",
depth: 4,
},
plugins: []
};
</script>
<!-- Docsify v4 -->
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/search.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/gitalk.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script>
<script>
const gitalk = new Gitalk({
clientID: "9752bf249b2dfd6400dd",
clientSecret: "d6d2ac81e96bf0fa27d0a62eb5d809159cb72cde",
repo: "neuralink.github.io",
owner: "dahuotu",
admin: ["dahuotu"],
title: window.location.hash.match(/#(.*?)([?]|$)/)[1],
id: decodeURI(window.location.pathname),
distractionFreeMode: false,
});
window.onhashchange = function (event) {
if (event.newURL.split('?')[0] !== event.oldURL.split('?')[0]) {
location.reload()
}
}
</script>
</body>
</html>