| name | firefly-site-config |
| description | 修改 Firefly 站点基础配置。Use when adjusting title, SEO info, theme color, page switches, bangumi id, post list layout, analytics, or pagination in src/config/siteConfig.ts. |
Firefly Site Config
Overview
Edit core site identity, theme, feature toggles, and listing behavior in one place.
Workflow
- Read the current target file(s) before editing.
- Confirm the requested behavior and map it to existing keys.
- Apply the smallest possible change inside the declared scope.
- Keep existing style, object structure, and value types.
- Report changed keys and paths.
Edit Scope
Common Keys
- title / subtitle / site_url / description / keywords / lang
- themeColor.hue / themeColor.fixed / themeColor.defaultMode
- navbar.logo / navbar.title / navbar.widthFull / navbar.followTheme
- siteStartDate / timezone / showLastModified / outdatedThreshold / sharePoster / generateOgImages
- bangumi.userId / pages.sponsor / pages.guestbook / pages.bangumi
- postListLayout.defaultMode / postListLayout.allowSwitch / postListLayout.grid.masonry / postListLayout.grid.columns
- pagination.postsPerPage / analytics.googleAnalyticsId / analytics.microsoftClarityId
- imageOptimization.formats / imageOptimization.quality
Guardrails
- Do not modify files outside Edit Scope unless explicitly requested.
- Keep booleans, numbers, arrays, enums, and URLs in valid types.
- Preserve existing comments unless they conflict with the new behavior.
- Prefer minimal diffs that are easy to review.