summaryrefslogtreecommitdiff
path: root/examples/docs/src/consts.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/docs/src/consts.ts (renamed from examples/docs/src/config.ts)15
1 files changed, 2 insertions, 13 deletions
diff --git a/examples/docs/src/config.ts b/examples/docs/src/consts.ts
index 744c93ca1..6486f0325 100644
--- a/examples/docs/src/config.ts
+++ b/examples/docs/src/consts.ts
@@ -1,8 +1,8 @@
export const SITE = {
title: 'Documentation',
description: 'Your website description.',
- defaultLanguage: 'en_US',
-};
+ defaultLanguage: 'en-us',
+} as const;
export const OPEN_GRAPH = {
image: {
@@ -14,17 +14,6 @@ export const OPEN_GRAPH = {
twitter: 'astrodotbuild',
};
-// This is the type of the frontmatter you put in the docs markdown files.
-export type Frontmatter = {
- title: string;
- description: string;
- layout: string;
- image?: { src: string; alt: string };
- dir?: 'ltr' | 'rtl';
- ogLocale?: string;
- lang?: string;
-};
-
export const KNOWN_LANGUAGES = {
English: 'en',
} as const;