From 9a9b4aadee73849ad21b0883f633c54e7a5fde87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=B9=E5=A6=B9=E4=B8=8B=E9=9B=A8=E5=9B=9E=E4=B8=8D?= =?UTF-8?q?=E5=8E=BB?= Date: Thu, 2 Mar 2023 22:28:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E5=8D=9A=E5=AE=A2=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/config/theme.config.ts | 139 +++++++++++++------------- 1 file changed, 70 insertions(+), 69 deletions(-) diff --git a/docs/.vuepress/config/theme.config.ts b/docs/.vuepress/config/theme.config.ts index 16c4af7..bdc062a 100644 --- a/docs/.vuepress/config/theme.config.ts +++ b/docs/.vuepress/config/theme.config.ts @@ -10,78 +10,79 @@ import {sidebar} from "./sidebar"; */ export default { - theme: hopeTheme({ - locales: langConfig, - darkmode:"toggle", - // 支持全屏 - fullscreen: true, - // 纯净模式s - // pure: true, - print: false, // 打印按钮 - hostname:'https://408.142vip.cn', - author:{ - name:'Chu Fan', - email:'fairy_408@2925.com', - url:'https://www.142vip.cn' - }, - favicon:"/408_favicon.ico", - logo: "/assets/408_logo.png", - navbar: navbar, - // 导航栏布局 - navbarLayout:{ - start: ["Brand"], - center: ["Links"], - end: ["Language","Search","Repo", "Outlook", ] - }, - sidebar: sidebar, - // sidebar: "heading", + theme: hopeTheme({ + locales: langConfig, + darkmode: "toggle", + // 支持全屏 + fullscreen: true, + // 纯净模式s + // pure: true, + print: false, // 打印按钮 + hostname: 'https://408.142vip.cn', + author: { + name: 'Chu Fan', + email: 'fairy_408@2925.com', + url: 'https://www.142vip.cn' + }, + favicon: "/408_favicon.ico", + logo: "/assets/408_logo.png", + navbar: navbar, + // 导航栏布局 + navbarLayout: { + start: ["Brand"], + center: ["Links"], + end: ["Language", "Search", "Repo", "Outlook",] + }, + sidebar: sidebar, + // sidebar: "heading", - // 主题布局选项 - repo: "https://github.com/142vip/408CSFamily", - logoDark:"/assets/408_logo.png", + // 主题布局选项 + repo: "https://github.com/142vip/408CSFamily", + logoDark: "/assets/408_logo.png", - // 博客配置 - blog:{ - name:'凡是过往', - avatar:'', - description:'', - intro:'', - roundAvatar:true, - timeline:"时间轴的顶部文字", - // articleInfo:"", - // sidebarDisplay:"always", - medias:{ - "BiliBili": "https://space.bilibili.com/350937042?spm_id_from=333.1007.0.0" - } - }, + // 博客配置 + blog: { + name: '凡是过往', + avatar: '', + description: '', + intro: '', + roundAvatar: true, + timeline: "时间轴的顶部文字", + // articleInfo:"", + // sidebarDisplay:"always", + medias: { + "BiliBili": "https://space.bilibili.com/350937042?spm_id_from=333.1007.0.0" + } + }, - // 设置页脚 - displayFooter:true, - footer:FOOTER_HTML_INFO, - // copyright:false, + // 设置页脚 + displayFooter: true, + footer: FOOTER_HTML_INFO, + // copyright:false, - // 主题色选择器 - themeColor: { - blue: "#2196f3", - red: "#f26d6d", - green: "#3eaf7c", - orange: "#fb9b5f", - }, + // 主题色选择器 + themeColor: { + blue: "#2196f3", + red: "#f26d6d", + green: "#3eaf7c", + orange: "#fb9b5f", + }, - plugins: { - copyright:false, - // 开启博客功能 - // blog:true, - // 代码块 - mdEnhance: { - codetabs: true, - }, - copyCode: { - showInMobile:true - }, - feed: { - json: true, - }, - }, - }) + plugins: { + blog: true, + copyright: false, + // 开启博客功能 + // blog:true, + // 代码块 + mdEnhance: { + codetabs: true, + }, + copyCode: { + showInMobile: true + }, + feed: { + json: true, + }, + }, + }) } \ No newline at end of file