From 94d56bda5d44fdeb7b44e85f196457cb06f5b02f Mon Sep 17 00:00:00 2001 From: Baptiste Leproux Date: Mon, 8 Sep 2025 12:30:37 +0200 Subject: [PATCH 1/2] fix(landing): remove prose to false by default --- layer/app/templates/landing.vue | 1 - layer/nuxt.config.ts | 7 +++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/layer/app/templates/landing.vue b/layer/app/templates/landing.vue index e79c386fa..d1a15cc0f 100644 --- a/layer/app/templates/landing.vue +++ b/layer/app/templates/landing.vue @@ -42,6 +42,5 @@ else { diff --git a/layer/nuxt.config.ts b/layer/nuxt.config.ts index 5a24501fc..becf2dbfc 100644 --- a/layer/nuxt.config.ts +++ b/layer/nuxt.config.ts @@ -33,6 +33,13 @@ export default defineNuxtConfig({ highlight: { langs: ['bash', 'diff', 'json', 'js', 'ts', 'html', 'css', 'vue', 'shell', 'mdc', 'md', 'yaml'], }, + remarkPlugins: { + 'remark-mdc': { + options: { + autoUnwrap: true, + }, + }, + }, }, }, }, From adfeaea3f1d0e9434c38037e91580355131634af Mon Sep 17 00:00:00 2001 From: Baptiste Leproux Date: Mon, 8 Sep 2025 12:38:32 +0200 Subject: [PATCH 2/2] remove var def --- layer/app/templates/landing.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/layer/app/templates/landing.vue b/layer/app/templates/landing.vue index d1a15cc0f..c77ef1160 100644 --- a/layer/app/templates/landing.vue +++ b/layer/app/templates/landing.vue @@ -12,8 +12,6 @@ if (!page.value) { throw createError({ statusCode: 404, statusMessage: 'Page not found', fatal: true }) } -// Reconsider it once this is implemented: https://github.com/nuxt/content/issues/3419 -const prose = page.value.meta?.prose as boolean const title = page.value.seo?.title || page.value.title const description = page.value.seo?.description || page.value.description