components(Head): add rss feed to Head

Closes #1638
This commit is contained in:
vanadium23 2024-12-07 18:37:44 +03:00
parent 5ccc2dcbba
commit 6d4597da8e

View File

@ -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" />