添加 RSS 能力
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-01 02:24:30 +08:00
parent 706e98e39d
commit 4e56bc0d38
6 changed files with 134 additions and 15 deletions

View File

@ -17,6 +17,12 @@ const { title = '小帕的小窝' } = Astro.props
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" href="/favicon.ico" />
<link
rel="alternate"
type="application/rss+xml"
title="小帕的小窝 RSS 订阅"
href={new URL('rss.xml', Astro.site || 'https://passthem.top')}
/>
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>