mirror of
https://github.com/Afilmory/afilmory
synced 2026-02-01 22:48:17 +00:00
- Changed project name and title in the site configuration to "Innei's Afilmory". - Updated author name in the configuration to "Innei" and adjusted the URL accordingly. - Added a new feed structure in the configuration to include follow challenge details. - Enhanced the feed sitemap generation to incorporate the new feed data. Signed-off-by: Innei <tukon479@gmail.com>
54 lines
1.0 KiB
TypeScript
54 lines
1.0 KiB
TypeScript
import { merge } from 'es-toolkit/compat'
|
|
|
|
import userConfig from './config.json'
|
|
|
|
export interface SiteConfig {
|
|
name: string
|
|
title: string
|
|
description: string
|
|
url: string
|
|
accentColor: string
|
|
author: Author
|
|
social?: Social
|
|
feed?: Feed
|
|
}
|
|
|
|
interface Feed {
|
|
folo?: {
|
|
challenge?: {
|
|
feedId: string
|
|
userId: string
|
|
}
|
|
}
|
|
}
|
|
interface Author {
|
|
name: string
|
|
url: string
|
|
avatar?: string
|
|
}
|
|
interface Social {
|
|
twitter: string
|
|
github: string
|
|
}
|
|
|
|
const defaultConfig: SiteConfig = {
|
|
name: "Innei's Afilmory",
|
|
title: "Innei's Afilmory",
|
|
description:
|
|
'Capturing beautiful moments in life, documenting daily warmth and emotions through my lens.',
|
|
url: 'https://afilmory.innei.in',
|
|
accentColor: '#007bff',
|
|
author: {
|
|
name: 'Innei',
|
|
url: 'https://innei.in/',
|
|
avatar: 'https://cdn.jsdelivr.net/gh/Innei/static@master/avatar.png',
|
|
},
|
|
social: {
|
|
twitter: '@__oQuery',
|
|
github: 'Innei',
|
|
},
|
|
}
|
|
export const siteConfig: SiteConfig = merge(defaultConfig, userConfig) as any
|
|
|
|
export default siteConfig
|