Skip to content

Commit 63883cd

Browse files
committed
fix: rss button navigate to 404 page if not with en locale
1 parent 25167af commit 63883cd

File tree

1 file changed

+1
-0
lines changed
  • apps/site/components/Blog/BlogHeader

1 file changed

+1
-0
lines changed

apps/site/components/Blog/BlogHeader/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const BlogHeader: FC<BlogHeaderProps> = ({ category }) => {
2121
{t('layouts.blog.title')}
2222
<Link
2323
href={`/feed/${currentFile}`}
24+
{...{ locale: 'en' }} // RSS feeds only exist in English
2425
aria-label={t('components.blog.blogHeader.rssLink')}
2526
>
2627
<RssIcon />

0 commit comments

Comments
 (0)