fix projekt links
This commit is contained in:
parent
aa710c944e
commit
d6884ba09c
@ -57,10 +57,7 @@ export default defineNuxtConfig({
|
|||||||
siteUrl: process.env.APP_URL || 'https://www.digimedialoop.de',
|
siteUrl: process.env.APP_URL || 'https://www.digimedialoop.de',
|
||||||
trailingSlash: false,
|
trailingSlash: false,
|
||||||
ignorePaths: ['/sitemap.xml'],
|
ignorePaths: ['/sitemap.xml'],
|
||||||
i18n: true,
|
i18n: true
|
||||||
async routes() {
|
|
||||||
return await getSitemapRoutes()
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
robots: {
|
robots: {
|
||||||
rules: [
|
rules: [
|
||||||
@ -118,7 +115,7 @@ export default defineNuxtConfig({
|
|||||||
},
|
},
|
||||||
nitro: {
|
nitro: {
|
||||||
prerender: {
|
prerender: {
|
||||||
crawlLinks: false,
|
crawlLinks: true,
|
||||||
failOnError: false,
|
failOnError: false,
|
||||||
//routes: ['/', '/webagency'] // Wichtige Routen vorrendern , '/impressum', '/datenschutz'
|
//routes: ['/', '/webagency'] // Wichtige Routen vorrendern , '/impressum', '/datenschutz'
|
||||||
}
|
}
|
||||||
|
|||||||
@ -145,7 +145,7 @@ const projectItems = computed(() => {
|
|||||||
url: project.projectImages[0]?.url || '',
|
url: project.projectImages[0]?.url || '',
|
||||||
alternativeText: project.projectImages[0]?.alternativeText || project.customer?.company || ''
|
alternativeText: project.projectImages[0]?.alternativeText || project.customer?.company || ''
|
||||||
},
|
},
|
||||||
link: project.link || ''
|
link: '/projekt/' + project.link || ''
|
||||||
}))
|
}))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user