Skip to content

Commit 198a505

Browse files
author
Dan Costello
authored
Add golang metatags (#17)
1 parent 8d7c24e commit 198a505

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

app/(home)/layout.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
import type { ReactNode } from "react";
22
import { HomeLayout } from "fumadocs-ui/layouts/home";
33
import { baseOptions } from "@/app/layout.config";
4+
import { Metadata } from "next";
5+
6+
export const metadata: Metadata = {
7+
other: {
8+
"go-import": [
9+
"userclouds.com git userclouds.com git https://github.com/userclouds/sdk-golang.git",
10+
],
11+
},
12+
};
413

514
export default function Layout({ children }: { children: ReactNode }) {
615
return (

app/(meta)/authz/page.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export default function AuthzPage() {
2+
return (
3+
<main className="flex flex-1 flex-col items-center py-16 px-4 text-4xl mx-auto">
4+
👋
5+
</main>
6+
);
7+
}

app/(meta)/layout.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { Metadata } from "next";
2+
import type { ReactNode } from "react";
3+
4+
export const metadata: Metadata = {
5+
other: {
6+
"go-import": [
7+
"userclouds.com git https://github.com/userclouds/authzsdk-golang.git",
8+
],
9+
},
10+
};
11+
12+
export default function Layout({ children }: { children: ReactNode }) {
13+
return <>{children}</>;
14+
}

0 commit comments

Comments
 (0)