Skip to content

feat: add filter for Spanish blog posts and style tweaks#143

Merged
ioana-chiorean merged 1 commit intomainfrom
chj/es-blog-adjustments
Jul 8, 2025
Merged

feat: add filter for Spanish blog posts and style tweaks#143
ioana-chiorean merged 1 commit intomainfrom
chj/es-blog-adjustments

Conversation

@huijing
Copy link
Copy Markdown
Contributor

@huijing huijing commented Jul 8, 2025

This PR:

  • adds a landing page that lists all Spanish language blog posts at /developers/blog/es, which are identified by the front matter field "lang"
    • Only blog posts containing the property lang: es will show up on that page
  • adjusts some styling for individual blog posts

This decision to not do a full-fledged i18n of the blog is because we will not be translating most of the blog posts, only a select few in preparation for the Summit and Hackathon, therefore the effort to properly i18n-ise the blog was not considered commensurate to the end result.

In future, if we want to fully invest in multilingual content, then we can consider implementing a complete i18n solution.

}

article :global(code) {
article :global(:not(pre) > code) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There were some style changes due to the latest Starlight upgrade (see https://github.com/withastro/starlight/releases/tag/%40astrojs%2Fstarlight%400.34.0), this fixes that issue

@huijing huijing requested a review from ioana-chiorean July 8, 2025 08:47
Copy link
Copy Markdown
Contributor

@ioana-chiorean ioana-chiorean left a comment

Choose a reason for hiding this comment

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

Awesome work HJ! thank you!

@ioana-chiorean ioana-chiorean merged commit 7401834 into main Jul 8, 2025
1 check passed
@ioana-chiorean ioana-chiorean deleted the chj/es-blog-adjustments branch July 8, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants