0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 08:30:27 +03:00

Update default title and description

This commit is contained in:
2024-09-11 22:03:55 +00:00
parent 97aa90a605
commit c89ed0f7f9
8 changed files with 29 additions and 14 deletions

View File

@ -22,7 +22,7 @@ const { Content, remarkPluginFrontmatter } = await post.render();
}
</style>
<Layout>
<Layout title={post.data.title} description={post.data.description}>
<div class="header">
<h1>{post.data.title}</h1>
<p>

View File

@ -6,7 +6,7 @@ export async function GET(context) {
return rss({
customData: `<language>ru-ru</language>`,
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 Popovs Technology Blog",
title: import.meta.env.DEFAULT_TITLE,
});
}