Skip to content

Commit

Permalink
components(Head): add rss feed to Head
Browse files Browse the repository at this point in the history
Closes #1638
  • Loading branch information
vanadium23 committed Dec 7, 2024
1 parent 5ccc2dc commit 9503232
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions quartz/components/Head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ export default (() => {
<meta property="twitter:url" content={socialUrl}></meta>
</>
)}
{cfg.baseUrl && (
<>
<link rel="alternate" type="application/rss+xml" title={`${cfg.pageTitle} Feed`} href={`https://${cfg.baseUrl}/index.xml`} />
</>
)}
<link rel="icon" href={iconPath} />
<meta name="description" content={description} />
<meta name="generator" content="Quartz" />
Expand Down

0 comments on commit 9503232

Please sign in to comment.