mirror of
https://github.com/KazooTTT/kazoottt-blog-v2.git
synced 2025-06-23 10:41:30 +08:00
feat: personalize blog and update configurations
This commit is contained in:
@ -3,10 +3,10 @@ import type { AstroExpressiveCodeOptions } from "astro-expressive-code";
|
||||
|
||||
export const siteConfig: SiteConfig = {
|
||||
// Used as both a meta property (src/components/BaseHead.astro L:31 + L:49) & the generated satori png (src/pages/og-image/[slug].png.ts)
|
||||
author: "Chris Williams",
|
||||
author: "KazooTTT",
|
||||
// Date.prototype.toLocaleDateString() parameters, found in src/utils/date.ts.
|
||||
date: {
|
||||
locale: "en-GB",
|
||||
locale: "zh-CN",
|
||||
options: {
|
||||
day: "numeric",
|
||||
month: "short",
|
||||
@ -14,15 +14,15 @@ export const siteConfig: SiteConfig = {
|
||||
},
|
||||
},
|
||||
// Used as the default description meta property and webmanifest description
|
||||
description: "An opinionated starter theme for Astro",
|
||||
description: "记录技术分享、学习笔记、生活日常、碎碎念的地方。",
|
||||
// HTML lang property, found in src/layouts/Base.astro L:18 & astro.config.ts L:48
|
||||
lang: "en-GB",
|
||||
lang: "zh-CN",
|
||||
// Meta property, found in src/components/BaseHead.astro L:42
|
||||
ogLocale: "en_GB",
|
||||
ogLocale: "zh_CN",
|
||||
// Used to construct the meta title property found in src/components/BaseHead.astro L:11, and webmanifest name found in astro.config.ts L:42
|
||||
title: "Astro Theme Cactus",
|
||||
title: "声控烤箱的博客",
|
||||
// ! Please remember to replace the following site property with your own domain, used in astro.config.ts
|
||||
url: "https://astro-cactus.chriswilliams.dev/",
|
||||
url: "https://blog.kazoottt.top/",
|
||||
};
|
||||
|
||||
// Used to generate links in both the Header & Footer.
|
||||
@ -43,6 +43,10 @@ export const menuLinks: { path: string; title: string }[] = [
|
||||
path: "/notes/",
|
||||
title: "Notes",
|
||||
},
|
||||
{
|
||||
path: "/friends/",
|
||||
title: "Friends",
|
||||
},
|
||||
];
|
||||
|
||||
// https://expressive-code.com/reference/configuration/
|
||||
|
Reference in New Issue
Block a user