From 59ffe37ccebd537b39e42ea3bc1c24fb966060e0 Mon Sep 17 00:00:00 2001 From: ralksta Date: Sat, 7 Mar 2026 09:12:24 +0100 Subject: [PATCH] docs: remove transitions from settings yaml example and lib/config --- content/settings.yaml.example | 3 --- lib/config.ts | 4 ---- 2 files changed, 7 deletions(-) diff --git a/content/settings.yaml.example b/content/settings.yaml.example index 6c99b32..fcd2786 100644 --- a/content/settings.yaml.example +++ b/content/settings.yaml.example @@ -12,9 +12,6 @@ exifOnHover: true # Enable the interactive world map view (/map) map: true -# Enable smooth page transitions between routes -transitions: true - # ── Theme configuration ────────────────────────────────────────── # Presets: studio, minimal, editorial, classic, noir, monograph, botanica theme: diff --git a/lib/config.ts b/lib/config.ts index cd2e075..655e5c6 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -156,7 +156,6 @@ interface SettingsYaml { subtitle?: string; exifOnHover?: boolean; map?: boolean; - transitions?: boolean; theme?: | string | { @@ -259,8 +258,6 @@ export interface AppConfig { legal: LegalConfig; /** Show the /map page. Default: false. */ map: boolean; - /** Enable page transitions between routes. Default: true. */ - transitions: boolean; /** Explicit album name overrides from gallery.yaml. */ albumOverrides: Record; cacheTtl: number; @@ -505,7 +502,6 @@ export function getConfig(): AppConfig { extraInfo: settings.legal?.extraInfo, }, map: settings.map === true, - transitions: settings.transitions !== false, albumOverrides, cacheTtl: env.CACHE_TTL * 1000, rateLimitRpm: env.RATE_LIMIT_RPM,