🔍 Improve sitemap

This commit is contained in:
2024-08-17 10:32:24 +08:00
parent 21a02689dd
commit 48690b1b88
2 changed files with 8 additions and 1 deletions

View File

@@ -8,10 +8,17 @@ export default defineNuxtConfig({
name: "Solsynth LLC",
},
sitemap: {
strictNuxtContentPaths: true,
cacheMaxAgeSeconds: 3600,
sitemapsPathPrefix: "/sitemap",
sitemaps: {
pages: {
includeAppSources: true,
exclude: ["/flow/**"],
defaults: { priority: 0.8 },
},
posts: {
includeAppSources: false,
sources: [
"/api/sitemap/posts",
],