1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-11-29 15:35:10 +08:00

feat: 更新主题博客设置

This commit is contained in:
妹妹下雨回不去
2023-03-02 22:28:26 +08:00
parent 6995f595a2
commit 9a9b4aadee

View File

@@ -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,
},
},
})
}