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
+25
View File
@@ -0,0 +1,25 @@
const head = require('./config/head.js');
//const plugins = require('./config/plugins.js');
const themeConfig = require('./config/themeConfig.js');
module.exports = {
base: '/',
dest: 'dist',
locales: {
'/': {
title: "我的博客",
description: '死理性派,喜欢程序,数学,物理',
lang: 'zh-CN'
}
},
head,
//plugins,
themeConfig,
markdown: {
lineNumber: false
},
extendMarkdown: md => {
md.set({ breaks: true });
md.use(require('markdown-it-mathjax3'), {tex: {tags: 'ams'}});
}
}
+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
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

+3
View File
@@ -0,0 +1,3 @@
# 我写的一些文章
* 从抛币协议到智能合约
+6
View File
@@ -0,0 +1,6 @@
# 我的博客和文档
----
## 以前的一些文章
* 从抛币协议到智能合约
+24
View File
@@ -0,0 +1,24 @@
{
"name": "MyBlog",
"version": "1.0.0",
"description": "My Blog and NoteBook",
"main": "index.js",
"author": "Neo Jin",
"license": "MIT",
"scripts": {
"dev": "set NODE_OPTIONS=--openssl-legacy-provider & vuepress dev docs",
"build": "set NODE_OPTIONS=--openssl-legacy-provider & vuepress build docs",
"clean": "rimraf ./dist && echo 'Contents cleaned!'",
"test": "yarn build && yarn clean"
},
"dependencies": {
"markdown-it-footnote": "^3.0.3",
"markdown-it-mathjax3": "^4.3.2"
},
"packageManager": "yarn@1.22.22",
"devDependencies": {
"markdown-it-mathjax3": "^4.3.1",
"rimraf": "^3.0.2",
"vuepress": "^1.9.10"
}
}
+9189
View File
File diff suppressed because it is too large Load Diff