Add sitemap integration and render robots.txt via ts

This commit is contained in:
thiloho
2025-04-27 03:38:25 +02:00
parent 6a97f847c6
commit f88fe15fe0
12 changed files with 91 additions and 15 deletions

View File

@@ -1,9 +1,9 @@
import { defineConfig } from "astro/config";
import tailwindcss from "@tailwindcss/vite";
import sitemap from "@astrojs/sitemap";
export default defineConfig({
site: "https://thiloho.github.io",
trailingSlash: "never",
prefetch: {
@@ -19,4 +19,6 @@ export default defineConfig({
theme: "github-dark",
},
},
integrations: [sitemap()],
});