更新博客内容

This commit is contained in:
2025-02-22 19:54:50 +08:00
parent a1a4d970af
commit bfc428b237
90 changed files with 3370 additions and 8638 deletions
-12
View File
@@ -1,12 +0,0 @@
module.exports = [
['link', { rel: 'icon', href: '/favicon.png' }],
// 移动浏览器的主题背景色
['meta', { name: 'theme-color', content: '#11a8cd' }],
// 站点默认文件编码格式
['meta', { charset: 'UTF-8' }],
// 移动端缩放优化
['meta', {
name: 'viewport',
content: 'width=device-width, initial-scale=1'
}]
]
+17 -2
View File
@@ -1,5 +1,20 @@
// nav
module.exports = [
{ text: '首页', link: '/' },
{ text: '文章', link: '/blog/' },
{ text: '首页', link: '/' },
{ text: '文章', link: '/blog/' },
{
text: '开源项目',
children: [
{ text: "TurboLink", link: "https://github.com/thejinchao/turbolink"}
]
},
{
text: '个人笔记',
children: [
{ text: '数学相关', link: '/math/' },
{ text: '图形学', link: '/graphics/'},
{ text: '密码学', link: '/cryptography/'},
{ text: '编程语言', link: '/language/'}
]
}
]
+68 -3
View File
@@ -1,7 +1,72 @@
module.exports = [
{
title: '博客',
path: '/blog/',
collapsable: true
text: '我的文章',
prefix: '/blog/',
collapsible: true,
children: [
{
text: '从抛币协议到智能合约',
collapsible: true,
children: [
{ text: "Part1", link: "2025/02/MentalPoker01.md" },
{ text: "Part2", link: "2025/02/MentalPoker02.md" }
]
},
{
text: 'JPEG算法解密',
collapsible: true,
children: [
{ text: "Part1", link: "2025/02/JPEG001.md" },
{ text: "Part2", link: "2025/02/JPEG002.md" },
{ text: "Part3", link: "2025/02/JPEG003.md" },
{ text: "Part4", link: "2025/02/JPEG004.md" },
{ text: "Part5", link: "2025/02/JPEG005.md" },
{ text: "Github", link: "http://github.com/thejinchao/jpeg_encoder" }
]
},
{
text: 'SPH算法简介',
collapsible: true,
children: [
{ text: "Part1", link: "2025/02/SPH001.md" },
{ text: "Part2", link: "2025/02/SPH002.md" },
{ text: "Part3", link: "2025/02/SPH003.md" },
{ text: "Part4", link: "2025/02/SPH004.md" },
{ text: "Github", link: "https://github.com/thejinchao/fluid" }
]
},
"2025/02/Martingle.md",
"2025/02/RandRound.md",
"2025/02/DH.md",
"2025/02/SegmentCircle.md",
"2025/02/Ellipse.md",
"2025/02/Fibonacci.md"
]
},
{
text: '开源项目',
collapsible: true,
children: [
{text: "TurboLink", link: 'https://github.com/thejinchao/turbolink' }
],
},
{
text: '学习笔记',
collapsible: true,
children: [
{
text: '数学相关',
collapsible: true,
children: [
{text: '常用数学符号', link: '/math/symbol'},
{text: '群', link: '/math/group'},
{text: '数论(一)', link: '/math/number_theory_1'},
{text: '数论(二)', link: '/math/number_theory_2'},
{text: '数论(三)', link: '/math/number_theory_3'},
{text: '概率', link: '/math/probability'}
]
}
]
}
]
-14
View File
@@ -1,14 +0,0 @@
const nav = require('./nav.js');
const sidebar = require('./sidebar.js');
// 主题配置
module.exports = {
logo: '/favicon.png',
nav,
sidebar,
sidebarDepth: 2,
repo: '',
searchMaxSuggestions: 10,
docsDir: 'docs',
editLinks: false
}