File tree 2 files changed +1
-529
lines changed
2 files changed +1
-529
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ import {
44
44
postProcessSmallerHeadingIDs ,
45
45
} from "./utils.js" ;
46
46
import { getWebFeatureStatus } from "./web-features.js" ;
47
- import { rewritePageTitleForSEO } from "./seo.js" ;
48
47
export { default as SearchIndex } from "./search-index.js" ;
49
48
export { gather as gatherGitHistory } from "./git-history.js" ;
50
49
export { buildSPAs } from "./spas.js" ;
@@ -537,8 +536,7 @@ export async function buildDocument(
537
536
// a breadcrumb in the React component.
538
537
addBreadcrumbData ( document . url , doc ) ;
539
538
540
- const pageTitle = getPageTitle ( doc ) ;
541
- doc . pageTitle = rewritePageTitleForSEO ( doc . mdn_url , pageTitle ) ;
539
+ doc . pageTitle = getPageTitle ( doc ) ;
542
540
543
541
// Decide whether it should be indexed (sitemaps, robots meta tag, search-index)
544
542
doc . noIndexing =
You can’t perform that action at this time.
0 commit comments