mirror of
https://github.com/SantaSpeen/santaspeen.ru-blog.git
synced 2026-05-20 00:20:28 +00:00
add site search algolia
This commit is contained in:
@@ -60,7 +60,7 @@ const config = {
|
||||
}),
|
||||
],
|
||||
],
|
||||
|
||||
// themes: ['@docusaurus/theme-search-algolia'],
|
||||
themeConfig:
|
||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||
({
|
||||
@@ -92,6 +92,12 @@ const config = {
|
||||
style: 'dark',
|
||||
copyright: `Copyright © ${new Date().getFullYear()} Akmalov Artur`,
|
||||
},
|
||||
algolia: {
|
||||
appId: process.env.ALGOLIA_APP_ID,
|
||||
apiKey: process.env.ALGOLIA_API_KEY,
|
||||
indexName: process.env.ALGOLIA_INDEX_NAME,
|
||||
placeholder: "Search...",
|
||||
},
|
||||
prism: {
|
||||
theme: darkCodeTheme,
|
||||
// darkTheme: darkCodeTheme,
|
||||
|
||||
Reference in New Issue
Block a user