initial commit

This commit is contained in:
2025-02-20 22:28:12 +08:00
parent f9144ac487
commit 5d3803ca1b
10 changed files with 9285 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
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'
}]
]
+5
View File
@@ -0,0 +1,5 @@
// nav
module.exports = [
{ text: '首页', link: '/' },
{ text: '文章', link: '/blog/' },
]
+7
View File
@@ -0,0 +1,7 @@
module.exports = [
{
title: '博客',
path: '/blog/',
collapsable: true
}
]
+14
View File
@@ -0,0 +1,14 @@
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
}