Adds links to RSS feeds to BaseHead component

This commit is contained in:
Joe Carstairs
2024-07-04 11:34:51 +01:00
parent af9bc77dcf
commit 24796509ee

View File

@@ -43,3 +43,7 @@ const { title, description, image = '/images/headshot.jpg' } = Astro.props;
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
<meta property="twitter:image" content={new URL(image, Astro.url)} />
<!-- Feeds -->
<link rel="alternate" type="text/xml" title="Blog RSS" href="/blog/rss.xml">
<link rel="alternate" type="text/xml" title="Links RSS" href="/links/rss.xml">