From 6e337268627c573e36d12f1730bf8ef0a8b2d9a8 Mon Sep 17 00:00:00 2001 From: Hyko Date: Sun, 12 Apr 2026 16:09:03 -0400 Subject: [PATCH] refactor: remove ZEN_DESCRIPTION env variable usage Remove the `ZEN_DESCRIPTION` environment variable from `.env.example` and its usage in `generateMetadata`. The description field is no longer needed in the default metadata configuration. --- .env.example | 2 -- src/modules/page.js | 1 - 2 files changed, 3 deletions(-) diff --git a/.env.example b/.env.example index db73489..73c9fb4 100644 --- a/.env.example +++ b/.env.example @@ -2,7 +2,6 @@ NEXT_PUBLIC_URL=http://localhost:3000 NEXT_PUBLIC_URL_DEV=http://localhost:3000 ZEN_NAME=ZEN -ZEN_DESCRIPTION= # CONFIG ZEN_TIMEZONE=America/Toronto @@ -13,7 +12,6 @@ ZEN_SUPPORT_EMAIL=support@exemple.com # DATABASE ZEN_DATABASE_URL=postgres://USER:PASSWORD@HOST:PORT/postgres -# Used when NODE_ENV=development (falls back to ZEN_DATABASE_URL if unset) ZEN_DATABASE_URL_DEV=postgres://USER:PASSWORD@HOST:PORT/postgres_dev # STORAGE (Cloudflare R2 for now) diff --git a/src/modules/page.js b/src/modules/page.js index f1feca8..ac6af96 100644 --- a/src/modules/page.js +++ b/src/modules/page.js @@ -70,7 +70,6 @@ export async function generateMetadata({ params }) { // Default metadata return { title: process.env.ZEN_NAME || 'ZEN', - description: process.env.ZEN_DESCRIPTION || '', }; }