Skip to content

Commit 9711b54

Browse files
committed
fix: rss button navigate to 404 page if not with en locale
1 parent 2e4a6d2 commit 9711b54

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • apps/site/components/Blog/BlogHeader

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)