Skip to content

feat(metadata): hreflang links #847

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

Merged
merged 4 commits into from
Mar 20, 2025
Merged

feat(metadata): hreflang links #847

merged 4 commits into from
Mar 20, 2025

Conversation

rofe
Copy link
Contributor

@rofe rofe commented Mar 20, 2025

hreflag-<locale> metadata properties get translated into hreflang links:

the following metadata:

+-------------------------------------------------------------------------------------------+
| Metadata                                                                                  |
+================+==========================================================================+
| hreflang-de    | https://www.example.com/de/foo                                           |
+----------------+--------------------------------------------------------------------------+

will produce:

<link rel="alternate" hreflang="de" href="https://www.example.com/de/foo">

Copy link

codecov bot commented Mar 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (4dfbe61) to head (ff2a75c).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #847   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           46        46           
  Lines         3943      3962   +19     
=========================================
+ Hits          3943      3962   +19     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

This PR will trigger a minor release when merged.

@rofe rofe requested a review from tripodsan March 20, 2025 10:29
@rofe rofe merged commit fe0ded5 into main Mar 20, 2025
9 checks passed
@rofe rofe deleted the issue-845a branch March 20, 2025 10:56
github-actions bot pushed a commit that referenced this pull request Mar 20, 2025
# [6.22.0](v6.21.6...v6.22.0) (2025-03-20)

### Features

* **metadata:** hreflang links ([#847](#847)) ([fe0ded5](fe0ded5))
Copy link

🎉 This PR is included in version 6.22.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants