Skip to content

Commit

Permalink
feat: adds dynamic tags
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoformiga committed Jan 16, 2025
1 parent 16615e7 commit 6235f8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/pages/s.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function Page({ page: searchContentType, globalSections }: Props) {
sort: settings?.productGallery?.sortBySelection as SearchState['sort'],
})

const title = 'Search Results'
const title = `${searchParams.term}: Search Results`
const { description, titleTemplate } = storeConfig.seo
const itemsPerPage = settings?.productGallery?.itemsPerPage ?? ITEMS_PER_PAGE

Expand All @@ -79,7 +79,7 @@ function Page({ page: searchContentType, globalSections }: Props) {
<NextSeo
noindex
title={title}
description={description}
description={`${searchParams.term}: ${description}`}
titleTemplate={titleTemplate}
openGraph={{
type: 'website',
Expand Down

0 comments on commit 6235f8b

Please sign in to comment.