initial commit
This commit is contained in:
@@ -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'}});
|
||||
}
|
||||
}
|
||||
@@ -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'
|
||||
}]
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
// nav
|
||||
module.exports = [
|
||||
{ text: '首页', link: '/' },
|
||||
{ text: '文章', link: '/blog/' },
|
||||
]
|
||||
@@ -0,0 +1,7 @@
|
||||
module.exports = [
|
||||
{
|
||||
title: '博客',
|
||||
path: '/blog/',
|
||||
collapsable: true
|
||||
}
|
||||
]
|
||||
@@ -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 |
@@ -0,0 +1,3 @@
|
||||
# 我写的一些文章
|
||||
|
||||
* 从抛币协议到智能合约
|
||||
@@ -0,0 +1,6 @@
|
||||
# 我的博客和文档
|
||||
----
|
||||
|
||||
## 以前的一些文章
|
||||
* 从抛币协议到智能合约
|
||||
|
||||
Reference in New Issue
Block a user