Add variables to config and minimal refactor

This commit is contained in:
prototypa
2022-08-28 20:31:06 -04:00
parent 06bf8df636
commit 19b4a25012
9 changed files with 33 additions and 35 deletions

View File

@ -8,9 +8,9 @@ const posts = await fetchPosts();
export const get = () =>
rss({
title: `${SITE.name}s Blog`,
description:
"A ready to start template to make your website using Astro and Tailwind CSS.",
description: SITE.description,
site: import.meta.env.SITE,
items: posts.map((post) => ({
link: `blog/${post.slug}`,
title: post.title,