docs: remove transitions from settings yaml example and lib/config
This commit is contained in:
@@ -12,9 +12,6 @@ exifOnHover: true
|
|||||||
# Enable the interactive world map view (/map)
|
# Enable the interactive world map view (/map)
|
||||||
map: true
|
map: true
|
||||||
|
|
||||||
# Enable smooth page transitions between routes
|
|
||||||
transitions: true
|
|
||||||
|
|
||||||
# ── Theme configuration ──────────────────────────────────────────
|
# ── Theme configuration ──────────────────────────────────────────
|
||||||
# Presets: studio, minimal, editorial, classic, noir, monograph, botanica
|
# Presets: studio, minimal, editorial, classic, noir, monograph, botanica
|
||||||
theme:
|
theme:
|
||||||
|
|||||||
@@ -156,7 +156,6 @@ interface SettingsYaml {
|
|||||||
subtitle?: string;
|
subtitle?: string;
|
||||||
exifOnHover?: boolean;
|
exifOnHover?: boolean;
|
||||||
map?: boolean;
|
map?: boolean;
|
||||||
transitions?: boolean;
|
|
||||||
theme?:
|
theme?:
|
||||||
| string
|
| string
|
||||||
| {
|
| {
|
||||||
@@ -259,8 +258,6 @@ export interface AppConfig {
|
|||||||
legal: LegalConfig;
|
legal: LegalConfig;
|
||||||
/** Show the /map page. Default: false. */
|
/** Show the /map page. Default: false. */
|
||||||
map: boolean;
|
map: boolean;
|
||||||
/** Enable page transitions between routes. Default: true. */
|
|
||||||
transitions: boolean;
|
|
||||||
/** Explicit album name overrides from gallery.yaml. */
|
/** Explicit album name overrides from gallery.yaml. */
|
||||||
albumOverrides: Record<string, string>;
|
albumOverrides: Record<string, string>;
|
||||||
cacheTtl: number;
|
cacheTtl: number;
|
||||||
@@ -505,7 +502,6 @@ export function getConfig(): AppConfig {
|
|||||||
extraInfo: settings.legal?.extraInfo,
|
extraInfo: settings.legal?.extraInfo,
|
||||||
},
|
},
|
||||||
map: settings.map === true,
|
map: settings.map === true,
|
||||||
transitions: settings.transitions !== false,
|
|
||||||
albumOverrides,
|
albumOverrides,
|
||||||
cacheTtl: env.CACHE_TTL * 1000,
|
cacheTtl: env.CACHE_TTL * 1000,
|
||||||
rateLimitRpm: env.RATE_LIMIT_RPM,
|
rateLimitRpm: env.RATE_LIMIT_RPM,
|
||||||
|
|||||||
Reference in New Issue
Block a user