rss feed
This commit is contained in:
parent
249ffdb8f3
commit
27b73d8f0c
1 changed files with 12 additions and 3 deletions
|
@ -2,7 +2,8 @@
|
|||
import BaseHead from "../../components/Head.astro";
|
||||
import Header from "../../components/Header.astro";
|
||||
import Footer from "../../components/Footer.astro";
|
||||
import Card from "../../components/Card-Blog.astro";
|
||||
import BlogCard from "../../components/Card-Blog.astro";
|
||||
import Card from "../../components/Card.astro"
|
||||
import Layout from "../../layouts/Layout.astro";
|
||||
import { SITE_TITLE, SITE_DESCRIPTION } from "../../consts";
|
||||
import { getCollection } from "astro:content";
|
||||
|
@ -21,12 +22,20 @@ const posts = (await getCollection("blog")).sort(
|
|||
<h1 class="title">The Blog Posts</h1>
|
||||
<h2 class="subtitle">This is where I post things and stuff, eventually...</h2>
|
||||
</center>
|
||||
<br>
|
||||
<hr>
|
||||
<ul role="list" class="link-card-grid">
|
||||
<Card
|
||||
href="/rss.xml"
|
||||
title="RSS Feed"
|
||||
source="/assets/rss.png"
|
||||
/>
|
||||
</ul>
|
||||
<hr>
|
||||
{
|
||||
posts.map((post) => (
|
||||
<>
|
||||
<ul role="list" class="link-card-grid">
|
||||
<Card
|
||||
<BlogCard
|
||||
href={`/blog/${post.slug}/`}
|
||||
title={post.data.title} />
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue