blog(skillhub): announce Astron SkillHub joining AAIF (zh + en)#56
Merged
Conversation
…mber Signed-off-by: FenjuFu <fufenjupku@gmail.com>
Signed-off-by: FenjuFu <fufenjupku@gmail.com>
Replace the AAIF members screenshot with the latest capture highlighting Astron SkillHub, and add an English edition of the announcement with cross-links between the two language versions. Signed-off-by: FenjuFu <fufenjupku@gmail.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Signed-off-by: FenjuFu <fufenjupku@gmail.com> # Conflicts: # src/assets/images/aaif-skillhub.png # src/data/post/skillhub-joins-aaif.md
dongjiang1989
requested changes
Jul 15, 2026
dongjiang1989
left a comment
Contributor
There was a problem hiding this comment.
We should support centralized language switching within the system.
@FenjuFu
Instead of standalone zh/en posts cross-linked inside the content,
translations are now linked via lang + translationId frontmatter and
follow the centralized language switch:
- post schema gains lang ('zh' | 'en') and translationId; variants are
resolved at load time and attached as post.translation
- translated variants are excluded from list pagination, RSS, related
and adjacent posts (fetchPosts vs fetchAllPosts in blog.ts)
- blog list and grid cards render both variants and swap through the
existing .i18n-zh / .i18n-en visibility classes
- on post pages the language toggle navigates to the counterpart via
data-translation-url emitted by SinglePost
- drop the manual cross-links from the SkillHub AAIF posts
Signed-off-by: FenjuFu <fufenjupku@gmail.com>
Contributor
Author
|
@dongjiang1989 Done in 69c009f — language switching for posts is now driven by the site-wide language toggle instead of manual in-content cross-links:
Verified locally: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/blog/skillhub-joins-aaif) and English (/blog/skillhub-joins-aaif-en), with cross-links between the two language versions.aaif-skillhub.png, with Astron SkillHub highlighted) as the featured/inline image; the watermarked copy is generated by the existing prebuild script.Verification
Rendered both posts on the local dev server: featured image loads the new screenshot (1755x810) through the watermark pipeline, and the zh/en cross-links resolve correctly.