Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ function Search() {
const {
siteConfig: {
themeConfig: {algolia: {appId = 'BH4D9OD16A', apiKey, indexName} = {}},
title: siteTitle,
titleDelimiter,
} = {},
} = useDocusaurusContext();
const docsSearchVersionsHelpers = useDocsSearchVersionsHelpers();
Expand Down Expand Up @@ -294,8 +296,9 @@ function Search() {
}, [searchValue]);

return (
<Layout title={getTitle()}>
<Layout wrapperClassName="search-page-wrapper">
<Head>
<title>{`${getTitle()} ${titleDelimiter} ${siteTitle}`}</title>
{/*
We should not index search pages
See https://github.com/facebook/docusaurus/pull/3233
Expand Down