From c89ed0f7f9dcf14d1d96ad0d13ad59f5b542396e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 11 Sep 2024 22:03:55 +0000 Subject: Update default title and description --- src/pages/feed.xml.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pages/feed.xml.js') diff --git a/src/pages/feed.xml.js b/src/pages/feed.xml.js index a509386..c837202 100644 --- a/src/pages/feed.xml.js +++ b/src/pages/feed.xml.js @@ -6,7 +6,7 @@ export async function GET(context) { return rss({ customData: `ru-ru`, - description: "Tech insights and coding best practices from an OpenSource enthusiast and ethical hacker.", + description: import.meta.env.DEFAULT_DESCRIPTION, items: posts.map((post) => ({ customData: post.data.customData, description: post.data.description, @@ -15,6 +15,6 @@ export async function GET(context) { title: post.data.title, })), site: context.site, - title: "Valentin Popov’s Technology Blog", + title: import.meta.env.DEFAULT_TITLE, }); } -- cgit v1.2.3