feat: add category page

This commit is contained in:
KazooTTT
2024-07-21 22:29:07 +08:00
parent 3f502739d0
commit 50813b0c43
11 changed files with 320 additions and 51 deletions

View File

@ -3,18 +3,18 @@ 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: 'SRLEOM',
author: 'KazooTTT',
// Meta property used to construct the meta title property, found in src/components/BaseHead.astro L:11
title: 'astro-theme-resume',
title: 'KazooTTT Blog',
// Meta property used as the default description meta property
description: 'The official Astro Resume Theme',
description: '声控烤箱 我喜欢的烤箱是声控的 前端小透明',
// HTML lang property, found in src/layouts/Base.astro L:18
lang: 'en-GB',
lang: 'zh-CN',
// Meta property, found in src/components/BaseHead.astro L:42
ogLocale: 'en_GB',
ogLocale: 'zh-CN',
// Date.prototype.toLocaleDateString() parameters, found in src/utils/date.ts.
date: {
locale: 'en-GB',
locale: 'zh-CN',
options: {
day: 'numeric',
month: 'short',
@ -31,7 +31,7 @@ export const menuLinks: Array<{ title: string; path: string }> = [
{
title: 'Blog',
path: '/blog/'
}
},
]
// https://expressive-code.com/reference/configuration/