Skip to content

Commit f113821

Browse files
authored
feat: add RSS feed link and translations for multiple languages (#2241)
1 parent d3e51da commit f113821

File tree

13 files changed

+21
-0
lines changed

13 files changed

+21
-0
lines changed

astro/src/components/patterns/Footer/Footer.astro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ import { BodyMd, Col, Container, Grid } from '@/components/primitives';
120120
<Icon name="bsky" />
121121
</a>
122122
</li>
123+
<li>
124+
<a href="/feed.xml" aria-label="RSS Feed">
125+
<Icon name="rss" />
126+
</a>
127+
</li>
123128
</ul>
124129
</Col>
125130
</Grid>

astro/src/components/patterns/PostHeader/PostHeader.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ const whatsappShareUrl = `https://wa.me/?text=${encodedTitle}%20${encodedUrl}`;
117117
>
118118
<Icon name="whatsapp" aria-hidden="true" />
119119
</a>
120+
<a class="post-header__share-btn" href="/feed.xml" aria-label={t('post.rssFeed')}>
121+
<Icon name="rss" aria-hidden="true" />
122+
</a>
120123
<button
121124
class="post-header__share-btn post-header__copy-btn"
122125
type="button"

astro/src/i18n/ui/de.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"post.shareOnSlack": "Auf Slack teilen",
8989
"post.shareOnTelegram": "Auf Telegram teilen",
9090
"post.shareOnWhatsApp": "Auf WhatsApp teilen",
91+
"post.rssFeed": "RSS-Feed",
9192
"post.copyLink": "Link kopieren",
9293
"post.linkCopied": "Link kopiert!",
9394
"post.toc": "Auf dieser Seite",

astro/src/i18n/ui/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
"post.shareOnSlack": "Share on Slack",
141141
"post.shareOnTelegram": "Share on Telegram",
142142
"post.shareOnWhatsApp": "Share on WhatsApp",
143+
"post.rssFeed": "RSS Feed",
143144
"post.copyLink": "Copy link",
144145
"post.linkCopied": "Link copied!",
145146
"post.toc": "On this page",

astro/src/i18n/ui/es.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"post.shareOnSlack": "Compartir en Slack",
8989
"post.shareOnTelegram": "Compartir en Telegram",
9090
"post.shareOnWhatsApp": "Compartir en WhatsApp",
91+
"post.rssFeed": "RSS Feed",
9192
"post.copyLink": "Copiar enlace",
9293
"post.linkCopied": "¡Enlace copiado!",
9394
"post.toc": "En esta página",

astro/src/i18n/ui/fr.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"post.shareOnSlack": "Partager sur Slack",
8989
"post.shareOnTelegram": "Partager sur Telegram",
9090
"post.shareOnWhatsApp": "Partager sur WhatsApp",
91+
"post.rssFeed": "Flux RSS",
9192
"post.copyLink": "Copier le lien",
9293
"post.linkCopied": "Lien copié !",
9394
"post.toc": "Sur cette page",

astro/src/i18n/ui/it.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"post.shareOnSlack": "Condividi su Slack",
8989
"post.shareOnTelegram": "Condividi su Telegram",
9090
"post.shareOnWhatsApp": "Condividi su WhatsApp",
91+
"post.rssFeed": "Feed RSS",
9192
"post.copyLink": "Copia link",
9293
"post.linkCopied": "Link copiato!",
9394
"post.toc": "In questa pagina",

astro/src/i18n/ui/ja.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"post.shareOnSlack": "Slackでシェア",
8989
"post.shareOnTelegram": "Telegramでシェア",
9090
"post.shareOnWhatsApp": "WhatsAppでシェア",
91+
"post.rssFeed": "RSSフィード",
9192
"post.copyLink": "リンクをコピー",
9293
"post.linkCopied": "コピーしました!",
9394
"post.toc": "このページの内容",

astro/src/i18n/ui/ko.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"post.shareOnSlack": "Slack에서 공유",
8989
"post.shareOnTelegram": "Telegram에서 공유",
9090
"post.shareOnWhatsApp": "WhatsApp에서 공유",
91+
"post.rssFeed": "RSS 피드",
9192
"post.copyLink": "링크 복사",
9293
"post.linkCopied": "링크가 복사되었습니다!",
9394
"post.toc": "이 페이지에서",

astro/src/i18n/ui/pt-br.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"post.shareOnSlack": "Compartilhar no Slack",
8989
"post.shareOnTelegram": "Compartilhar no Telegram",
9090
"post.shareOnWhatsApp": "Compartilhar no WhatsApp",
91+
"post.rssFeed": "RSS Feed",
9192
"post.copyLink": "Copiar link",
9293
"post.linkCopied": "Link copiado!",
9394
"post.toc": "Nesta página",

0 commit comments

Comments
 (0)