Skip to content

Commit

Permalink
refactor: 💡 modify template
Browse files Browse the repository at this point in the history
  • Loading branch information
huyikai committed Dec 22, 2023
1 parent 552e87f commit 072c8cd
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,12 @@ const vitepressConfig = {
title: 'vitepres-helper',
description: 'vitepres-helper.',
head: [
['link', { rel: 'icon', href: '/vitepress-helper/favicon.ico' }] //浏览器标签icon
['link', { rel: 'icon', href: '/favicon.ico' }] //浏览器标签icon
],
themeConfig: {
siteTitle: 'VitePress-Helper', //导航栏左侧名称
logo: '/static/nav-logo.svg', //导航栏左侧头像
lastUpdated: true, //最后更新时间
outlineTitle: 'Catalog', //右侧 侧边栏标题
search: {
provider: 'local' // 离线搜索
},
// 导航栏
nav: [
{
Expand All @@ -38,11 +34,6 @@ const vitepressConfig = {
socialLinks: [
{ icon: 'github', link: 'https://github.com/huyikai/vitepress-helper' }
],
// 网站页脚
footer: {
message: 'Released under the MIT License.',
copyright: 'Copyright © 2022'
},
// 文档页脚-上下页显示文字
docFooter: {
prev: 'Pervious',
Expand Down

0 comments on commit 072c8cd

Please sign in to comment.