Add RSS links

This commit is contained in:
Cassidy Williams
2024-01-06 23:19:00 -06:00
parent 9c8e5e3195
commit 43832ad13a
3 changed files with 20 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ const posts = await Astro.glob("../posts/*.md");
const tags = getTags(posts);
---
<!DOCTYPE html>
<!doctype html>
<html lang="en-us">
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
<body>
@@ -28,6 +28,13 @@ const tags = getTags(posts);
<HomePosts allPosts={posts} />
<p class="center">
You can also <a href="https://blog.cassidoo.co/rss.xml">
subscribe with RSS!
</a>
</p>
<br />
<Tags tags={tags} all />
</main>
<Footer />

View File

@@ -15,7 +15,7 @@ const posts = (await Astro.glob("../posts/*.md")).sort(
);
---
<!DOCTYPE html>
<!doctype html>
<html lang="en-us">
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
<body>
@@ -33,6 +33,13 @@ const posts = (await Astro.glob("../posts/*.md")).sort(
}
</ul>
</content>
<p class="center">
You can also <a href="https://blog.cassidoo.co/rss.xml">
subscribe with RSS!
</a>
</p>
<Footer />
</main>
<ColorScript />