This commit is contained in:
1 parent
c1541b80df
commit
b4c7908029
97 files changed
+12403
-154
No files matched your search
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* 站点级配置(单一事实来源)。
|
||||
*
|
||||
* 所有页面的 metadata、sitemap、robots、页头页脚都从这里取值,
|
||||
* 避免站点名称 / 域名散落在多个文件中。
|
||||
*/
|
||||
|
||||
export const siteConfig = {
|
||||
/** 站点名称 */
|
||||
name: "个人博客",
|
||||
/** 站点英文标识,用于 Logo 与 SEO */
|
||||
nameEn: "Inkwell",
|
||||
/** 一句话简介 */
|
||||
tagline: "记录工程实践与思考",
|
||||
/** 站点描述(用于首页 metadata 与 OG) */
|
||||
description:
|
||||
"一个使用 Next.js 构建的个人博客,记录前端工程、系统设计与日常思考。支持 Markdown / MDX 写作与代码高亮。",
|
||||
/** 作者信息 */
|
||||
author: {
|
||||
name: "站长",
|
||||
email: "hello@example.com",
|
||||
bio: "前端工程师,关注 Web 性能、开发者体验与设计系统。相信好的工具能让复杂的事情变得简单。",
|
||||
location: "中国 · 杭州",
|
||||
jobTitle: "前端工程师",
|
||||
},
|
||||
/** 社交 / 联系方式(关于页展示) */
|
||||
social: [
|
||||
{ label: "GitHub", href: "https://github.com", icon: "github" as const },
|
||||
{ label: "X / Twitter", href: "https://x.com", icon: "twitter" as const },
|
||||
{ label: "Email", href: "mailto:hello@example.com", icon: "mail" as const },
|
||||
],
|
||||
/** 部署后的站点地址,用于 sitemap / robots / 绝对 URL */
|
||||
url: process.env.NEXT_PUBLIC_SITE_URL ?? "https://example.com",
|
||||
/** 默认 OG 图 */
|
||||
ogImage: "/og.svg",
|
||||
} as const;
|
||||
|
||||
export type SiteConfig = typeof siteConfig;
|
||||
Reference in new issue
Block a user