diff --git a/nuxt.config.ts b/nuxt.config.ts index 0dcceab..1f733b6 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -10,6 +10,11 @@ export default defineNuxtConfig({ defaultLocale: 'es' }, ogImage: { enabled: false }, + nitro: { + prerender: { + routes: ['/sitemap.xml'] + } + }, app: { head: { charset: 'utf-8', diff --git a/pages/[...slug].vue b/pages/[...slug].vue index 2aad8b0..cd66efa 100644 --- a/pages/[...slug].vue +++ b/pages/[...slug].vue @@ -120,7 +120,7 @@ onMounted(async () => { content.value = contentResult; showSidebar.value = contentResult && (route.query.fromClick || false); - useContentHead(contentResult) + // useContentHead(contentResult) }); diff --git a/public/previews/ogpreview.png b/public/previews/ogpreview.png new file mode 100644 index 0000000..9cfb2eb Binary files /dev/null and b/public/previews/ogpreview.png differ