Skip to content

Commit 3b491c2

Browse files
committed
removed agolia implementation to fix vercel dep
1 parent 10a3af9 commit 3b491c2

File tree

3 files changed

+27
-24
lines changed

3 files changed

+27
-24
lines changed

blog/google-backlinks/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ date: 2025-05-30
88

99
---
1010

11-
11+
<!-- truncate -->
1212
Google’s algorithms have been evolving for many years. Still, backlinks have always been a factor that marketers have looked at and are continually altering to boost a website’s search engine rankings. You’ve certainly heard a lot about backlinks from all of these digital marketers, but you don’t really understand what they are.
1313

14-
<!-- truncate -->
14+
1515
---
1616

1717

docusaurus.config.ts

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,11 @@ const config: Config = {
203203
},
204204
],
205205
},
206-
{
207-
type: "search",
208-
position: "right",
209-
},
206+
// Search disabled until Algolia is properly configured
207+
// {
208+
// type: "search",
209+
// position: "right",
210+
// },
210211
{
211212
type: "html",
212213
position: "right",
@@ -223,20 +224,21 @@ const config: Config = {
223224
theme: prismThemes.github,
224225
darkTheme: prismThemes.dracula,
225226
},
226-
algolia: {
227-
appId: "YOUR_APP_ID",
228-
apiKey: "YOUR_SEARCH_API_KEY",
229-
indexName: "YOUR_INDEX_NAME",
230-
contextualSearch: true,
231-
externalUrlRegex: "external\\.com|domain\\.com",
232-
replaceSearchResultPathname: {
233-
from: "/docs/",
234-
to: "/",
235-
},
236-
searchParameters: {},
237-
searchPagePath: "search",
238-
insights: false,
239-
},
227+
// Disable Algolia search until properly configured
228+
// algolia: {
229+
// appId: "YOUR_APP_ID",
230+
// apiKey: "YOUR_SEARCH_API_KEY",
231+
// indexName: "YOUR_INDEX_NAME",
232+
// contextualSearch: true,
233+
// externalUrlRegex: "external\\.com|domain\\.com",
234+
// replaceSearchResultPathname: {
235+
// from: "/docs/",
236+
// to: "/",
237+
// },
238+
// searchParameters: {},
239+
// searchPagePath: "search",
240+
// insights: false,
241+
// },
240242
} satisfies Preset.ThemeConfig,
241243

242244
markdown: {

src/theme/Navbar/Content/index.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import {
66
} from '@docusaurus/theme-common/internal';
77
import NavbarItem, {type Props as NavbarItemConfig} from '@theme/NavbarItem';
88
import NavbarColorModeToggle from '@theme/Navbar/ColorModeToggle';
9-
import SearchBar from '@theme/SearchBar';
9+
// import SearchBar from '@theme/SearchBar';
1010
import NavbarMobileSidebarToggle from '@theme/Navbar/MobileSidebar/Toggle';
1111
import NavbarLogo from '@theme/Navbar/Logo';
12-
import NavbarSearch from '@theme/Navbar/Search';
12+
// import NavbarSearch from '@theme/Navbar/Search';
1313

1414

1515

@@ -79,11 +79,12 @@ export default function NavbarContent(): ReactNode {
7979
<>
8080
<NavbarItems items={rightItems} />
8181
<NavbarColorModeToggle />
82-
{!searchBarItem && (
82+
{/* Search component disabled */}
83+
{/* {!searchBarItem && (
8384
<NavbarSearch>
8485
<SearchBar />
8586
</NavbarSearch>
86-
)}
87+
)} */}
8788
</>
8889
}
8990
/>

0 commit comments

Comments
 (0)