File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
apify-docs-theme/src/theme/SearchPage Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ function SearchPageContent() {
117117 const {
118118 algolia : { appId, apiKey, indexName } ,
119119 } = useAlgoliaThemeConfig ( ) ;
120+ const titleFormatter = useTitleFormatter ( ) ;
120121 const documentsFoundPlural = useDocumentsFoundPlural ( ) ;
121122 const docsSearchVersionsHelpers = useDocsSearchVersionsHelpers ( ) ;
122123 const [ searchQuery , setSearchQuery ] = useSearchQueryString ( ) ;
@@ -295,7 +296,7 @@ function SearchPageContent() {
295296 return (
296297 < Layout >
297298 < Head >
298- < title > { useTitleFormatter ( getTitle ( ) ) } </ title >
299+ < title > { titleFormatter . format ( getTitle ( ) ) } </ title >
299300 { /*
300301 We should not index search pages
301302 See https://github.com/facebook/docusaurus/pull/3233
You can’t perform that action at this time.
0 commit comments