Skip to content

Commit

Permalink
feat(seo): run page title rewrite experiment on 500 pages
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Apr 17, 2024
1 parent 6baa062 commit 52f9003
Show file tree
Hide file tree
Showing 2 changed files with 517 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ export async function buildDocument(
addBreadcrumbData(document.url, doc);

const pageTitle = getPageTitle(doc);
doc.pageTitle = rewritePageTitleForSEO(pageTitle);
doc.pageTitle = rewritePageTitleForSEO(doc.mdn_url, pageTitle);

// Decide whether it should be indexed (sitemaps, robots meta tag, search-index)
doc.noIndexing =
Expand Down
Loading

0 comments on commit 52f9003

Please sign in to comment.