Skip to content

Commit 6968ef4

Browse files
authored
Add data-search attribute to landing pages for search indexing (#59491)
1 parent 6ceb0c0 commit 6968ef4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/landings/components/discovery/DiscoveryLanding.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const DiscoveryLanding = () => {
2525
return (
2626
<DefaultLayout>
2727
<UtmPreserver />
28-
<div>
28+
<div data-search="article-body">
2929
<LandingHero title={title} intro={intro} heroImage={heroImage} introLinks={introLinks} />
3030
<div className="container-xl px-3 px-md-6 mt-6 mb-4">
3131
{/* Render carousels */}

src/landings/components/journey/JourneyLanding.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const JourneyLanding = () => {
1010
return (
1111
<DefaultLayout>
1212
<UtmPreserver />
13-
<div>
13+
<div data-search="article-body">
1414
<LandingHero title={title} intro={intro} heroImage={heroImage} introLinks={introLinks} />
1515

1616
<div className="container-xl px-3 px-md-6 mt-6 mb-4">

0 commit comments

Comments
 (0)