ddia_read/index.html

105 lines
3.9 KiB
HTML
Raw Permalink Normal View History

2022-06-02 23:22:04 +08:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>DDIA 逐章精读</title>
2024-03-05 09:58:00 +08:00
<meta name="keywords" content="设计数据密集型应用 DDIA 数据库 DDIA笔记 DDIA翻译 DDIA精读 分布式系统 数据库 大规模数据系统"/>
2022-06-02 23:22:04 +08:00
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
2024-03-04 09:44:27 +08:00
<meta name="description" content="DDIA读书笔记 DDIA精读笔记 DDIA翻译">
2022-06-02 23:22:04 +08:00
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="js/vue.css" title="vue"/>
2022-06-04 09:21:55 +08:00
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?9e46dc21e48bb3056fcb775f11bddbc4";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
2024-09-08 16:14:36 +08:00
</script>
2022-06-04 09:31:02 +08:00
<!-- Global site tag (gtag.js) - Google Analytics -->
2024-09-08 16:14:36 +08:00
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MMJ5PY11XY"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MMJ5PY11XY');
</script>
2024-09-08 16:31:32 +08:00
<link rel="stylesheet" href="//unpkg.com/gitalk/dist/gitalk.css">
2024-09-08 16:14:36 +08:00
2023-11-09 21:47:40 +08:00
2022-06-02 23:22:04 +08:00
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
2023-11-09 19:18:58 +08:00
count: {
language: "chinese", // default:english|chinese
},
2022-06-02 23:22:04 +08:00
name: '《DDIA 逐章精读》',
repo: 'https://github.com/DistSysCorp/ddia',
loadSidebar: true,
subMaxLevel: 2,
themeColor: '#77AAC2',
2022-10-30 22:02:53 +08:00
auto2top: true,
pagination: {
           previousText: "上一章",
           nextText: "下一章",
           crossChapter: true,
           crossChapterText: true,
     },
plugins: [
function pageFooter(hook, vm) {
var footer = [
2024-09-08 17:03:08 +08:00
'<footer style="text-align: center; color: #696773;">',
'<span><a href="https://www.qtmuniao.com/" style="color: #79D9CE;">作者:木鸟杂记</a>&nbsp;&nbsp; </span>',
'<span><a href="https://mp.weixin.qq.com/mp/appmsgalbum?__biz=Mzg5NTcxNzY2OQ==&action=getalbum&album_id=2164896217070206977&scene=126&devicetype=iOS15.4&version=18001d33&lang=zh_CN&nettype=WIFI&ascene=59&session_us=gh_80636260f9f9&fontScale=106&wx_header=3" style="color: #FCD765;">公众号</a>&nbsp;&nbsp; </span>',
'<span><a href="https://distsys.cn/" style="color: #F19A97;">分布式论坛</a>&nbsp;&nbsp; </span>',
'<span><a href="https://xiaobot.net/p/system-thinking" style="color: #77AAC2;">系统技术专栏</a></span>',
2022-10-30 22:02:53 +08:00
'</footer>',
].join('');
hook.afterEach(function (html) {
return html + footer;
});
},
2024-09-08 16:31:32 +08:00
function (hook, vm) {
hook.mounted(function() {
var div = Docsify.dom.create('div')
div.id = 'gitalk-container'
var main = Docsify.dom.getNode('#main')
div.style = `width: ${main.clientWidth}px; margin: 0 auto 20px;`
Docsify.dom.appendTo(Docsify.dom.find('.content'), div)
})
hook.doneEach(function() {
var el = document.getElementById('gitalk-container')
while(el.hasChildNodes()) el.removeChild(el.firstChild)
gitalk.render('gitalk-container')
})
}
2022-10-30 22:02:53 +08:00
],
2022-06-02 23:22:04 +08:00
}
</script>
<script src="js/docsify.min.js"></script>
<script src="js/search.min.js"></script>
2022-10-30 22:02:53 +08:00
<script src="js/docsify-pagination.min.js"></script>
2024-09-08 16:31:32 +08:00
<script src="//unpkg.com/gitalk/dist/gitalk.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script>
<script>
const gitalk = new Gitalk({
clientID: 'Ov23liYKNMwF7oVGo5AM',
clientSecret: 'bffc366adf82f40bc8e0fded441d7a7f0b3e09a9',
2024-09-08 16:39:16 +08:00
repo: 'ddia-comment',
2024-09-08 16:31:32 +08:00
owner: 'songpengwei',
admin: ['songpengwei'],
title: location.href,
})
</script>
2022-06-02 23:22:04 +08:00
</body>
</html>