feat: create separated rss feeds
All checks were successful
Docker / build-and-push-image (push) Successful in 2m11s

This commit is contained in:
Troy 2025-05-06 22:50:48 +01:00
parent 4f9ebdcc66
commit 782bfc7c90
Signed by: troy
GPG key ID: DFC06C02ED3B4711
10 changed files with 86 additions and 6 deletions

View file

@ -3,6 +3,7 @@ import { getCollection } from "astro:content";
import { PROJECTS, SITE } from "@consts";
import Layout from "@layouts/Layout.astro";
import ShowcaseProject from "@components/ShowcaseProject.astro";
import Link from "@components/Link.astro";
const projects = (await getCollection("projects"))
.filter((project) => !project.data.draft)
@ -18,4 +19,11 @@ const projects = (await getCollection("projects"))
>
{projects.map((article: any) => <ShowcaseProject collection={article} />)}
</ol>
<div class="flex justify-end">
<Link
href="/projects.xml"
class="text-tertiary hover:text-secondary text-xs transition-colors duration-300"
>View projects feed</Link
>
</div>
</Layout>