feat: add feed sitemap generation plugin and update site URL in config

- Introduced a new Vite plugin for generating RSS feeds and sitemaps based on photo data.
- Updated the example configuration file to reflect the new site URL format.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-06-12 19:48:58 +08:00
parent ac52350b6d
commit e7ecf98c42
7 changed files with 248 additions and 23 deletions

View File

@@ -10,7 +10,6 @@ interface SiteConfig {
accentColor: string
author: Author
social?: Social
extra?: Extra
}
interface Author {
name: string
@@ -19,9 +18,7 @@ interface Author {
}
interface Social {
twitter: string
}
interface Extra {
accessRepo: boolean
github: string
}
const defaultConfig: SiteConfig = {
@@ -38,6 +35,7 @@ const defaultConfig: SiteConfig = {
},
social: {
twitter: '@__oQuery',
github: 'Innei',
},
}
export const siteConfig: SiteConfig = merge(defaultConfig, userConfig) as any