// .vuepress/config.js
module.exports = {
title: 'Runtus',
description: 'hello world',
theme: 'runtu',
themeConfig: {
avatar: 'https://lao-lan-go.oss-cn-beijing.aliyuncs.com/vuepress/avatar.png', // -> 左上角图表设置
indexBackground: "https://lao-lan-go.oss-cn-beijing.aliyuncs.com/vuepress/pixiv34.JPG", // 首页背景图片
footer: {
date: '2021',
ICP: '蜀ICP备2021023118号-1',
author: 'Runtus'
},
// 路由设置,后面会优化这一块的配置,现在的配置有些繁琐
topBarConfig: [
{
name: '主页',
route: '/blogs/'
},
{
name: '归档',
route: '/archive/',
image: 'https://lao-lan-go.oss-cn-beijing.aliyuncs.com/vuepress/pixiv34.JPG'
},
{
name: '关于',
route: '/'
},
{
name: '友链',
route: '/friend/',
image: 'https://lao-lan-go.oss-cn-beijing.aliyuncs.com/vuepress/pixiv33.JPG',
// friend页面下的友链设置
friends: [
{
name: 'Lehr',
avatar: 'https://lao-lan-go.oss-cn-beijing.aliyuncs.com/runtu_blog/Lehr.jpg',
href: 'https://blog.imlehr.com/'
},
{
name: '沙滩玉米',
avatar: 'https://lao-lan-go.oss-cn-beijing.aliyuncs.com/runtu_blog/shuisong.png',
href: 'https://www.bencorn.com/'
},
]
}
]
}
}
blogs/xxxx.md
---
title: xxxx
date: xxxx
tag: xxxx
description: xxxx
---