mirror of
https://github.com/Afilmory/afilmory
synced 2026-02-01 22:48:17 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user