Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(website): add <link rel=alternate> to RSS feeds #1486

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

azu
Copy link
Contributor

@azu azu commented Jan 9, 2024

Summary

This PR add <link rel="alternate" type="application/rss+xml" href="https://biomejs.dev/feed.xml"> to website <head>.
It helps user find RSS feed.

For example, Feedly and Inoreader can discover the URL of an RSS feed by looking at this tag.

Test Plan

Check response of website.

curl -s "http://localhost:4321/" | grep "application/rss+xml"
<!DOCTYPE html><html lang="en" dir="ltr" data-has-hero class="astro-oli6443q"> <head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Biome, toolchain of the web</title><link rel="canonical" href="https://biomejs.dev/"/><link rel="alternate" hreflang="en" href="https://biomejs.dev/"/><link rel="alternate" hreflang="ja" href="https://biomejs.dev/ja/"/><link rel="alternate" hreflang="zh-CN" href="https://biomejs.dev/zh-cn/"/><link rel="alternate" hreflang="pt-BR" href="https://biomejs.dev/pt-br/"/><link rel="sitemap" href="/sitemap-index.xml"/><link rel="alternate" type="application/rss+xml" href="https://biomejs.dev/feed.xml"/><link rel="shortcut icon" href="/img/favicon.svg" type="image/svg+xml"/><meta name="generator" content="Astro v3.6.0"/><meta name="generator" content="Starlight v0.13.0"/><meta property="og:title" content="Biome"/><meta property="og:type" content="article"/><meta property="og:url" content="https://biomejs.dev/"/><meta property="og:locale" content="en"/><meta property="og:description" content="Format, lint, and more in a fraction of a second."/><meta property="og:site_name" content="Biome"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="Biome"/><meta name="twitter:description" content="Format, lint, and more in a fraction of a second."/><meta name="description" content="Format, lint, and more in a fraction of a second."/><meta property="og:image" content="https://biomejs.dev/img/og.png?v=1"/><meta property="twitter:image" content="https://biomejs.dev/img/og.png?v=1"/><script>

Copy link

netlify bot commented Jan 9, 2024

Deploy Preview for biomejs ready!

Name Link
🔨 Latest commit 8e6e3b3
🔍 Latest deploy log https://app.netlify.com/sites/biomejs/deploys/659d251cf4238a0008ffad51
😎 Deploy Preview https://deploy-preview-1486--biomejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (🟢 up 6 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 93 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added the A-Website Area: website label Jan 9, 2024
Copy link
Member

@ematipico ematipico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ematipico ematipico merged commit 611ef8c into biomejs:main Jan 9, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Website Area: website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants