93 lines
2.8 KiB
JavaScript
93 lines
2.8 KiB
JavaScript
module.exports = {
|
||
title: "vuepress-theme-reco",
|
||
description: 'A simple and beautiful vuepress blog theme.',
|
||
dest: 'example/public',
|
||
head: [
|
||
['link', { rel: 'icon', href: '/favicon.ico' }],
|
||
['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }]
|
||
],
|
||
// theme: 'reco',
|
||
locales: {
|
||
'/': {
|
||
lang: 'ja-JP',
|
||
title: "vuepress-theme-reco",
|
||
description: 'A simple and beautiful vuepress blog theme.',
|
||
},
|
||
},
|
||
theme: require.resolve('../../packages/vuepress-theme-reco'),
|
||
themeConfig: {
|
||
locales: {
|
||
'/': {
|
||
recoLocales: {
|
||
pagation: {
|
||
prev: '上壹頁',
|
||
next: '下壹頁',
|
||
go: '前往',
|
||
jump: '跳轉至'
|
||
}
|
||
}
|
||
}
|
||
},
|
||
nav: [
|
||
{ text: 'Home', link: '/', icon: 'reco-home' },
|
||
{ text: 'TimeLine', link: '/timeline/', icon: 'reco-date' },
|
||
{ text: 'Contact',
|
||
icon: 'reco-message',
|
||
items: [
|
||
{ text: 'NPM', link: 'https://www.npmjs.com/~reco_luan', icon: 'reco-npm' },
|
||
{ text: 'GitHub', link: 'https://github.com/recoluan', icon: 'reco-github' },
|
||
{ text: '简书', link: 'https://www.jianshu.com/u/cd674a19515e', icon: 'reco-jianshu' },
|
||
{ text: 'CSDN', link: 'https://blog.csdn.net/recoluan', icon: 'reco-csdn' },
|
||
{ text: '博客圆', link: 'https://www.cnblogs.com/luanhewei/', icon: 'reco-bokeyuan' },
|
||
{ text: 'WeChat', link: 'https://mp.weixin.qq.com/s/mXFqeUTegdvPliXknAAG_A', icon: 'reco-wechat' },
|
||
]
|
||
}
|
||
],
|
||
type: 'blog',
|
||
// 博客设置
|
||
blogConfig: {
|
||
category: {
|
||
location: 2, // 在导航栏菜单中所占的位置,默认2
|
||
text: 'Category' // 默认 “分类”
|
||
},
|
||
tag: {
|
||
location: 3, // 在导航栏菜单中所占的位置,默认3
|
||
text: 'Tag' // 默认 “标签”
|
||
}
|
||
},
|
||
type: 'blog',
|
||
logo: '/head.png',
|
||
authorAvatar: '/head.png',
|
||
// 搜索设置
|
||
search: true,
|
||
searchMaxSuggestions: 10,
|
||
// 自动形成侧边导航
|
||
sidebar: 'auto',
|
||
// 最后更新时间
|
||
lastUpdated: 'Last Updated',
|
||
// 作者
|
||
author: 'reco_luan',
|
||
// 备案号
|
||
record: 'xxxx',
|
||
// 项目开始时间
|
||
startYear: '2017',
|
||
/**
|
||
* 密钥 (if your blog is private)
|
||
*/
|
||
friendLink: [
|
||
{
|
||
title: '午后南杂',
|
||
desc: 'Enjoy when you can, and endure when you must.',
|
||
email: '1156743527@qq.com',
|
||
link: 'https://www.recoluan.com'
|
||
},
|
||
{
|
||
title: 'vuepress-theme-reco',
|
||
desc: 'A simple and beautiful vuepress Blog & Doc theme.',
|
||
avatar: "https://vuepress-theme-reco.recoluan.com/icon_vuepress_reco.png",
|
||
link: 'https://vuepress-theme-reco.recoluan.com'
|
||
},
|
||
]
|
||
}
|
||
}
|