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); const tags = getTags(posts);
--- ---
<!DOCTYPE html> <!doctype html>
<html lang="en-us"> <html lang="en-us">
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} /> <BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
<body> <body>
@@ -28,6 +28,13 @@ const tags = getTags(posts);
<HomePosts allPosts={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 /> <Tags tags={tags} all />
</main> </main>
<Footer /> <Footer />

View File

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

View File

@@ -205,6 +205,10 @@ h3 {
text-align: center; text-align: center;
} }
.center {
text-align: center;
}
.header-section { .header-section {
display: flex; display: flex;
align-items: center; align-items: center;