Skip to content

Commit

Permalink
feat(rss): Enable autodiscovery
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Mar 17, 2024
1 parent bc90f0f commit 87fc3f3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/layouts/BaseLayout.astro
Expand Up @@ -50,6 +50,20 @@ const canonicalURL = new URL(Astro.url.pathname, Astro.site);
<meta name="twitter:card" content="summary" />
<meta name="twitter:image" content={getBaseSiteURL() + "social-card.png"} />

<link
rel="alternate"
type="application/rss+xml"
title="RSS feed for the blog"
href={getBaseSiteURL() + "rss/blog"}
/>

<link
rel="alternate"
type="application/rss+xml"
title="RSS feed for the catalogue"
href={getBaseSiteURL() + "rss/catalogue"}
/>

<link rel="canonical" href={canonicalURL} />
<meta property="og:url" content={canonicalURL} />

Expand Down

0 comments on commit 87fc3f3

Please sign in to comment.