Skip to content

feat: improve title and description in embeds#392

Merged
wescopeland merged 1 commit into
RetroAchievements:mainfrom
Chew:feat/better-seo
Jun 23, 2026
Merged

feat: improve title and description in embeds#392
wescopeland merged 1 commit into
RetroAchievements:mainfrom
Chew:feat/better-seo

Conversation

@Chew

@Chew Chew commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Currently, sending a docs link on Discord just always returns RetroAchievement Docs with no description or title or anything.

CleanShot 2026-06-22 at 16 58 04@2x

Now, it will return the full title and description.

CleanShot 2026-06-22 at 16 58 31@2x

A titleTemplate was added, meaning | RetroAchievements Docs is added to titles.

CleanShot 2026-06-22 at 17 00 34@2x

The description pulls from the description: in the front-matter.

@greptile-apps

greptile-apps Bot commented Jun 22, 2026

Copy link
Copy Markdown

Confidence Score: 4/5

Safe to merge; change only affects meta tags injected into page head.

Small, well-scoped change. The only rough edge is that pages missing a description frontmatter will emit an empty twitter:description tag rather than omitting it.

docs/.vitepress/config/shared.ts — the transformHead description guard.

Reviews (1): Last reviewed commit: "feat: improve title and description in e..." | Re-trigger Greptile

Comment thread docs/.vitepress/config/shared.ts

@wescopeland wescopeland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@wescopeland wescopeland merged commit e53b473 into RetroAchievements:main Jun 23, 2026
1 check passed
@Chew Chew deleted the feat/better-seo branch June 23, 2026 00:01
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