arubinosky: add seo metatags
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
import type { SeoProps } from "./types";
|
import type { SeoProps } from "./types";
|
||||||
|
|
||||||
|
export * from "./types";
|
||||||
|
|
||||||
import deepmerge from "deepmerge";
|
import deepmerge from "deepmerge";
|
||||||
|
|
||||||
export const defaultSeo: SeoProps = {
|
export const defaultSeo: SeoProps = {
|
||||||
|
|||||||
17
apps/web/src/routes/arubinosky/+page.server.ts
Normal file
17
apps/web/src/routes/arubinosky/+page.server.ts
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
import type { SeoProps } from "$components/seo";
|
||||||
|
|
||||||
|
export async function load() {
|
||||||
|
return {
|
||||||
|
seo: {
|
||||||
|
title: "あるびのすきー",
|
||||||
|
openGraph: {
|
||||||
|
title: "あるびのすきー",
|
||||||
|
description: "とにかくかわいい Misskey インスタンス",
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
title: "あるびのすきー",
|
||||||
|
description: "とにかくかわいい Misskey インスタンス",
|
||||||
|
},
|
||||||
|
} as SeoProps,
|
||||||
|
};
|
||||||
|
}
|
||||||
17
apps/web/src/routes/arubinosky/policy/+page.server.ts
Normal file
17
apps/web/src/routes/arubinosky/policy/+page.server.ts
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
import type { SeoProps } from "$components/seo";
|
||||||
|
|
||||||
|
export async function load() {
|
||||||
|
return {
|
||||||
|
seo: {
|
||||||
|
title: "あるびのすきー",
|
||||||
|
openGraph: {
|
||||||
|
title: "あるびのすきー",
|
||||||
|
description: "とにかくかわいい Misskey インスタンス",
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
title: "あるびのすきー",
|
||||||
|
description: "とにかくかわいい Misskey インスタンス",
|
||||||
|
},
|
||||||
|
} as SeoProps,
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user