Enhance blog metadata and SEO with structured Open Graph data; add sitemap and robots.txt functionality; replace default OG image.
All checks were successful
Build and Deploy Blog / build-and-deploy-local (push) Successful in 36s

This commit is contained in:
2025-09-04 00:05:22 +02:00
parent a475d8a5fb
commit 8314a2a328
5 changed files with 65 additions and 2 deletions

15
app/robots.tsx Normal file
View File

@@ -0,0 +1,15 @@
import { MetadataRoute } from "next";
export default function robots(): MetadataRoute.Robots {
const baseUrl = "https://blog.gabrielkaszewski.dev";
return {
rules: [
{
userAgent: "*",
allow: "/",
},
],
sitemap: `${baseUrl}/sitemap.xml`,
};
}