All checks were successful
Deploy / deploy (push) Successful in 49s
- German (default) and English i18n support - Categories and tags - Blog posts with hero images - Dark/light theme switcher - View Transitions removed to fix reload ghost images - Webmentions integration - RSS feeds per locale Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
14 lines
383 B
TypeScript
14 lines
383 B
TypeScript
export const LOCALES = ['de', 'en'] as const;
|
|
export type Locale = (typeof LOCALES)[number];
|
|
export const DEFAULT_LOCALE: Locale = 'de';
|
|
|
|
export const SITE: Record<Locale, { title: string; description: string }> = {
|
|
de: {
|
|
title: 'Adrian Altner',
|
|
description: 'Willkommen auf meiner Website!',
|
|
},
|
|
en: {
|
|
title: 'Adrian Altner',
|
|
description: 'Welcome to my website!',
|
|
},
|
|
};
|