main
 1import type { Locale, StrictModeLocaleMap } from "intlayer";
 2
 3export type SiteConfig = {
 4  /**
 5   * A URL where this website deployed.
 6   */
 7  website: `${string}://${string}`;
 8  /**
 9   * Title of this website.
10   */
11  title: string;
12  /**
13   * Main author of this website.
14   */
15  author: string;
16  /**
17   * Description of this website.
18   */
19  description: StrictModeLocaleMap<string>;
20  /**
21   * Time zone of typst posts' date.
22   * It should be a valid IANA time zone name,
23   * e.g. `"Etc/UTC"`, `"America/New_York"`, `"Asia/Shanghai"`.
24   */
25  timeZone: string;
26  /**
27   * Locales supported by this website.
28   * The first one is the default locale.
29   */
30  locales: [Locale, ...Locale[]];
31};