Files
SuBlog/config/site.ts.example
T

54 lines
1.4 KiB
Plaintext

export const siteConfig = {
// 站点信息(改这里定制全站)
name: 'MyBlog',
siteName: '我的博客',
title: '《我的博客》官方网站',
subtitle: 'MyBlog',
description: '专注于IT/互联网技术分享与实践的个人技术博客',
url: 'https://example.com/',
keywords: ['博客', '技术博客'],
// 头像和图标
avatar: '/avatar.png',
favicon: '/favicon.png',
ogImage: '/og-image.png',
// 作者信息
author: {
name: 'YourName',
url: 'https://example.com/',
},
bio: 'Protect What You Love.',
// 社交链接
socialLinks: [
{ name: 'GitHub', icon: 'simple-icons:github', url: 'https://github.com/yourname', color: '#333333' },
],
// 导航菜单
navLinks: [
{ label: '博客', icon: 'mdi:post-outline', href: '/posts' },
{ label: '归档', icon: 'mdi:archive-outline', href: '/archive' },
{ label: '系列', icon: 'mdi:playlist-edit', href: '/series' },
{ label: '关于', icon: 'mdi:information-outline', href: '/about' },
],
// 友链
friends: [] as { name: string; url: string; avatar: string; description: string }[],
// 赞助
sponsors: {
qrcode: {
wechat: '/sponsors/qrcode/wechat.png',
},
list: [] as { name: string; date: string; amount: string; avatar?: string; text?: string }[],
},
// Giscus 评论配置
giscus: {
repo: 'owner/repo',
repoId: '',
category: 'Announcements',
categoryId: '',
},}