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 6d4597d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions quartz/components/Head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,16 @@ 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 6d4597d

Please sign in to comment.