Skip to content

Commit d94622c

Browse files
committed
fix: shorten doc page titles for search and improve bidi description
Stop concatenating full description into title tag — was producing 170+ char titles that Google truncated. Use consistent short format: "Title (badge) — OOXML Reference | ooxml.dev". Rewrite bidi page description to communicate value instead of listing subtopics.
1 parent 43b9e11 commit d94622c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/web/src/data/docs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ Each border element has:
455455
"bidirectional-text": {
456456
title: "Bidirectional Text (RTL)",
457457
description:
458-
"Right-to-left paragraph layout, run-level text direction, and how bidi interacts with alignment, indentation, and tab stops.",
458+
"How RTL layout actually works in OOXML — paragraph direction, run-level bidi, and where alignment and tab stops break.",
459459
badge: "w:bidi",
460460
content: [
461461
{

apps/web/src/data/seo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function getSeoMeta(path: string): SeoMeta {
4343
if (page) {
4444
const badge = page.badge ? ` (${page.badge})` : "";
4545
return {
46-
title: `${page.title}${badge}${page.description || "OOXML Reference"} | ooxml.dev`,
46+
title: `${page.title}${badge} — OOXML Reference | ooxml.dev`,
4747
description:
4848
page.description || `${page.title} — interactive OOXML reference with live previews.`,
4949
type: "article",

0 commit comments

Comments
 (0)