Skip to content

blog(skillhub): announce Astron SkillHub joining AAIF (zh + en)#56

Merged
dongjiang1989 merged 6 commits into
mainfrom
blog-skillhub-aaif
Jul 15, 2026
Merged

blog(skillhub): announce Astron SkillHub joining AAIF (zh + en)#56
dongjiang1989 merged 6 commits into
mainfrom
blog-skillhub-aaif

Conversation

@FenjuFu

@FenjuFu FenjuFu commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a news post announcing that Astron SkillHub has joined the Agentic AI Foundation (AAIF) as an Associate Member, in both Chinese (/blog/skillhub-joins-aaif) and English (/blog/skillhub-joins-aaif-en), with cross-links between the two language versions.
  • The post covers an intro to AAIF, what the membership means, and an introduction to Astron SkillHub and the Astron Landscape.
  • Add the AAIF Associate Members screenshot (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.

FenjuFu added 3 commits July 14, 2026 20:19
…mber

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>
@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website Ready Ready Preview, Comment Jul 15, 2026 8:01am

Signed-off-by: FenjuFu <fufenjupku@gmail.com>

# Conflicts:
#	src/assets/images/aaif-skillhub.png
#	src/data/post/skillhub-joins-aaif.md

@dongjiang1989 dongjiang1989 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should support centralized language switching within the system.
@FenjuFu

FenjuFu added 2 commits July 15, 2026 15:23
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>
@pull-request-size pull-request-size Bot added size/L and removed size/M labels Jul 15, 2026
@FenjuFu

FenjuFu commented Jul 15, 2026

Copy link
Copy Markdown
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:

  • Posts declare lang and translationId frontmatter to link zh/en variants (schema-backed, reusable for any future post).
  • On a post page, clicking the global 中文/English toggle navigates to the counterpart version (data-translation-url handled centrally in BasicScripts.astro).
  • Blog list / homepage grid render both variants of a translated post and swap them via the existing .i18n-zh / .i18n-en visibility classes, so lists follow the toggle too.
  • The en variant no longer appears as a separate article: it is excluded from list pagination, RSS, related posts and prev/next navigation.
  • Removed the hand-written cross-link blockquotes from both markdown files.

Verified locally: npm run build passes; toggle navigates zh↔en on post pages and swaps cards on the list page with no console errors.

@dongjiang1989 dongjiang1989 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks

@dongjiang1989
dongjiang1989 merged commit 5da5370 into main Jul 15, 2026
12 checks passed
@dongjiang1989
dongjiang1989 deleted the blog-skillhub-aaif branch July 15, 2026 10:26
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