mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
add robots, sitemap, new og image
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 517 KiB After Width: | Height: | Size: 266 KiB |
@@ -19,20 +19,22 @@ export const metadata: Metadata = {
|
||||
keywords: [
|
||||
"TypeScript",
|
||||
"project scaffolding",
|
||||
"biolerplate",
|
||||
"type safety",
|
||||
"Drizzle",
|
||||
"Prisma",
|
||||
"hono",
|
||||
"elysia",
|
||||
"turborepo",
|
||||
"libSQL",
|
||||
"PostgreSQL",
|
||||
"trpc",
|
||||
"orpc",
|
||||
"turso",
|
||||
"neon",
|
||||
"Better-Auth",
|
||||
"Docker",
|
||||
"GitHub Actions",
|
||||
"convex",
|
||||
"monorepo",
|
||||
"Better-T Stack",
|
||||
"Create better t stack",
|
||||
"create-better-t-stack",
|
||||
],
|
||||
authors: [{ name: "Better-T Stack Team" }],
|
||||
creator: "Better-T Stack",
|
||||
|
||||
13
apps/web/src/app/robots.ts
Normal file
13
apps/web/src/app/robots.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export const dynamic = "force-static";
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
export default function robots(): MetadataRoute.Robots {
|
||||
return {
|
||||
rules: {
|
||||
userAgent: "*",
|
||||
allow: "/",
|
||||
disallow: "/private/",
|
||||
},
|
||||
sitemap: "https://better-t-stack.amanv.dev/sitemap.xml",
|
||||
};
|
||||
}
|
||||
25
apps/web/src/app/sitemap.ts
Normal file
25
apps/web/src/app/sitemap.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
export const dynamic = "force-static";
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
return [
|
||||
{
|
||||
url: "https://better-t-stack.amanv.dev/",
|
||||
lastModified: new Date(),
|
||||
changeFrequency: "weekly",
|
||||
priority: 1,
|
||||
},
|
||||
{
|
||||
url: "https://better-t-stack.amanv.dev/new",
|
||||
lastModified: new Date(),
|
||||
changeFrequency: "weekly",
|
||||
priority: 0.8,
|
||||
},
|
||||
{
|
||||
url: "https://better-t-stack.amanv.dev/docs",
|
||||
lastModified: new Date(),
|
||||
changeFrequency: "weekly",
|
||||
priority: 0.5,
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user